summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-03 20:01:49 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-03 20:01:49 +0000
commit8d7f4b2d0807837a75c5832f8763f0571476b178 (patch)
tree797ee33a672b4e1ec2080c6ea85c72f7abaf8ccc /sys-apps/sed
parentWorkaround broken --enable-libcap handling #283589 by Alberto. (diff)
downloadgentoo-2-8d7f4b2d0807837a75c5832f8763f0571476b178.tar.gz
gentoo-2-8d7f4b2d0807837a75c5832f8763f0571476b178.tar.bz2
gentoo-2-8d7f4b2d0807837a75c5832f8763f0571476b178.zip
Force disable selinux when USE=-selinux #283597 by Jeremy Olexa.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/sed')
-rw-r--r--sys-apps/sed/ChangeLog5
-rw-r--r--sys-apps/sed/sed-4.2.1.ebuild5
2 files changed, 7 insertions, 3 deletions
diff --git a/sys-apps/sed/ChangeLog b/sys-apps/sed/ChangeLog
index 9261e9f87a6b..c7bed5a3d302 100644
--- a/sys-apps/sed/ChangeLog
+++ b/sys-apps/sed/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/sed
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.102 2009/08/09 15:34:59 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.103 2009/09/03 20:01:49 vapier Exp $
+
+ 03 Sep 2009; Mike Frysinger <vapier@gentoo.org> sed-4.2.1.ebuild:
+ Force disable selinux when USE=-selinux #283597 by Jeremy Olexa.
09 Aug 2009; Brent Baude <ranger@gentoo.org> sed-4.2.ebuild:
Marking sed-4.2 ppc64 for bug 275875
diff --git a/sys-apps/sed/sed-4.2.1.ebuild b/sys-apps/sed/sed-4.2.1.ebuild
index 4c7d8ebde418..3df117dee969 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-2009 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.1 2009/06/29 21:33:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.2.1.ebuild,v 1.2 2009/09/03 20:01:49 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/sed/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="acl nls static"
+IUSE="acl nls selinux static"
RDEPEND="nls? ( virtual/libintl )
acl? ( virtual/acl )"
@@ -50,6 +50,7 @@ src_compile() {
bindir=/usr/bin
fi
+ use selinux || export ac_cv_{search_setfilecon,header_selinux_{context,selinux}_h}=no
use static && append-ldflags -static
econf \
--bindir=${bindir} \