Browse Source

parted: fixed by exporting LDFLAGS="-lselinux" - otherwise the configure check for device-mapper fails if it has selinux support

user/karasz/next/updates
Christian Wiese 15 years ago
parent
commit
a91461a759
  1. 8
      filesystem/parted/parted.conf

8
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

Loading…
Cancel
Save