From a91461a759e30df7f74c711149f0ee1b18f4f0a0 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 22 Jul 2010 16:22:43 +0200 Subject: [PATCH] parted: fixed by exporting LDFLAGS="-lselinux" - otherwise the configure check for device-mapper fails if it has selinux support --- filesystem/parted/parted.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/filesystem/parted/parted.conf b/filesystem/parted/parted.conf index 602c6fd70..baea786c6 100644 --- a/filesystem/parted/parted.conf +++ b/filesystem/parted/parted.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../parted/parted.conf -# Copyright (C) 2007 The OpenSDE Project +# Copyright (C) 2007 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # @@ -21,4 +21,8 @@ var_append GCC_WRAPPER_REMOVE " " "-Werror" pkginstalled readline || var_append confopt ' ' "--without-readline" # device mapper support -pkginstalled device-mapper && var_append confopt ' ' "--enable-device-mapper" +if pkginstalled device-mapper; then + var_append confopt ' ' "--enable-device-mapper" + # configure check for device-mapper fails if it has selinux support + pkginstalled -f libselinux && export LDFLAGS="-lselinux" +fi