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