summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/sed/sed-4.2.1.ebuild')
-rw-r--r--sys-apps/sed/sed-4.2.1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-apps/sed/sed-4.2.1.ebuild b/sys-apps/sed/sed-4.2.1.ebuild
index 8ebd8cd5dfa4..7538d1ba57df 100644
--- a/sys-apps/sed/sed-4.2.1.ebuild
+++ b/sys-apps/sed/sed-4.2.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.2.1.ebuild,v 1.10 2011/12/31 07:33:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.2.1.ebuild,v 1.11 2012/01/03 18:44:35 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -50,7 +50,8 @@ src_compile() {
bindir=/usr/bin
fi
- export ac_cv_{search_setfilecon,header_selinux_{context,selinux}_h}=$(usex selinux)
+ export ac_cv_search_setfilecon=$(usex selinux -lselinux)
+ export ac_cv_header_selinux_{context,selinux}_h=$(usex selinux)
use static && append-ldflags -static
econf \
--bindir=${bindir} \