summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-31 07:33:57 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-31 07:33:57 +0000
commit9f590dffb92690ad44630f5b01a95c907470bc26 (patch)
tree3fafe334cff4844602c2c2288e37d01d367927b4 /sys-apps/sed
parentDo not always restart acct init.d when rotating logs #395867 by Eugeny Shkrig... (diff)
downloadgentoo-2-9f590dffb92690ad44630f5b01a95c907470bc26.tar.gz
gentoo-2-9f590dffb92690ad44630f5b01a95c907470bc26.tar.bz2
gentoo-2-9f590dffb92690ad44630f5b01a95c907470bc26.zip
Use new usex() helper.
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/sed')
-rw-r--r--sys-apps/sed/ChangeLog8
-rw-r--r--sys-apps/sed/sed-4.2.1-r1.ebuild6
-rw-r--r--sys-apps/sed/sed-4.2.1.ebuild6
3 files changed, 12 insertions, 8 deletions
diff --git a/sys-apps/sed/ChangeLog b/sys-apps/sed/ChangeLog
index 52ccc6d0a917..3146af2ae2f1 100644
--- a/sys-apps/sed/ChangeLog
+++ b/sys-apps/sed/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/sed
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.111 2010/11/28 17:21:42 ranger Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/ChangeLog,v 1.112 2011/12/31 07:33:57 vapier Exp $
+
+ 31 Dec 2011; Mike Frysinger <vapier@gentoo.org> sed-4.2.1.ebuild,
+ sed-4.2.1-r1.ebuild:
+ Use new usex() helper.
28 Nov 2010; Brent Baude <ranger@gentoo.org> sed-4.2.1.ebuild:
stable ppc64, bug 340919
diff --git a/sys-apps/sed/sed-4.2.1-r1.ebuild b/sys-apps/sed/sed-4.2.1-r1.ebuild
index 1db2d9ce21c9..6a3efffa1e3a 100644
--- a/sys-apps/sed/sed-4.2.1-r1.ebuild
+++ b/sys-apps/sed/sed-4.2.1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 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-r1.ebuild,v 1.1 2010/10/14 18:34:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.2.1-r1.ebuild,v 1.2 2011/12/31 07:33:57 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -51,7 +51,7 @@ src_compile() {
bindir=/usr/bin
fi
- use selinux || export ac_cv_{search_setfilecon,header_selinux_{context,selinux}_h}=no
+ export ac_cv_{search_setfilecon,header_selinux_{context,selinux}_h}=$(usex selinux)
use static && append-ldflags -static
econf \
--bindir=${bindir} \
diff --git a/sys-apps/sed/sed-4.2.1.ebuild b/sys-apps/sed/sed-4.2.1.ebuild
index 514e229daee8..8ebd8cd5dfa4 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-2010 Gentoo Foundation
+# Copyright 1999-2011 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.9 2010/11/28 17:21:42 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sed/sed-4.2.1.ebuild,v 1.10 2011/12/31 07:33:57 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -50,7 +50,7 @@ src_compile() {
bindir=/usr/bin
fi
- use selinux || export ac_cv_{search_setfilecon,header_selinux_{context,selinux}_h}=no
+ export ac_cv_{search_setfilecon,header_selinux_{context,selinux}_h}=$(usex selinux)
use static && append-ldflags -static
econf \
--bindir=${bindir} \