summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-05-11 16:32:52 +0000
committerMike Frysinger <vapier@gentoo.org>2013-05-11 16:32:52 +0000
commit185dacb973b4aab008f170929bd6328585d6e11f (patch)
tree8e0401853e3be5dc7cd090a5f76c6531fe2cfa2a /sys-devel
parentDrop reference to svn ChangeLog that no longer exists #469436 by Andrew Church. (diff)
downloadhistorical-185dacb973b4aab008f170929bd6328585d6e11f.tar.gz
historical-185dacb973b4aab008f170929bd6328585d6e11f.tar.bz2
historical-185dacb973b4aab008f170929bd6328585d6e11f.zip
Add USE=selinux to control selinux linkage.
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/prelink/ChangeLog7
-rw-r--r--sys-devel/prelink/prelink-20120628.ebuild9
2 files changed, 11 insertions, 5 deletions
diff --git a/sys-devel/prelink/ChangeLog b/sys-devel/prelink/ChangeLog
index 528da1f40853..07bdee5b08c1 100644
--- a/sys-devel/prelink/ChangeLog
+++ b/sys-devel/prelink/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-devel/prelink
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.89 2012/08/18 06:47:48 dirtyepic Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.90 2013/05/11 16:32:52 vapier Exp $
+
+ 11 May 2013; Mike Frysinger <vapier@gentoo.org> prelink-20120628.ebuild:
+ Add USE=selinux to control selinux linkage.
*prelink-20120628 (18 Aug 2012)
diff --git a/sys-devel/prelink/prelink-20120628.ebuild b/sys-devel/prelink/prelink-20120628.ebuild
index a9bb4920d776..e15ced2646dd 100644
--- a/sys-devel/prelink/prelink-20120628.ebuild
+++ b/sys-devel/prelink/prelink-20120628.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/prelink-20120628.ebuild,v 1.1 2012/08/18 06:47:48 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/prelink-20120628.ebuild,v 1.2 2013/05/11 16:32:52 vapier Exp $
EAPI="4"
@@ -20,9 +20,10 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 -arm ~ppc ~ppc64 ~x86"
-IUSE=""
+IUSE="selinux"
DEPEND=">=dev-libs/elfutils-0.100[static-libs(+)]
+ selinux? ( sys-libs/libselinux[static-libs(+)] )
!dev-libs/libelf
>=sys-libs/glibc-2.8"
RDEPEND="${DEPEND}
@@ -54,6 +55,8 @@ src_prepare() {
# have to do this after eautoreconf or automake barfs on the trailing
# backslash of the previous line
sed -i -e 's:undosyslibs.sh::' testsuite/Makefile.in # 254201
+
+ export ac_cv_{header_selinux_selinux_h,lib_selinux_is_selinux_enabled}=$(usex selinux)
}
src_install() {