summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-08-13 11:18:27 +0000
committerFabian Groffen <grobian@gentoo.org>2011-08-13 11:18:27 +0000
commit2d4d305cd5e034b48756f589bdb0fc0b8448a399 (patch)
treedc60e6395ab095e13f0d687668cdba7f698ef835 /sys-apps/grep
parentupdate to EAPI 4. (diff)
downloadgentoo-2-2d4d305cd5e034b48756f589bdb0fc0b8448a399.tar.gz
gentoo-2-2d4d305cd5e034b48756f589bdb0fc0b8448a399.tar.bz2
gentoo-2-2d4d305cd5e034b48756f589bdb0fc0b8448a399.zip
Add Prefix support, transferred Prefix keywords
(Portage version: 2.2.01.19011-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'sys-apps/grep')
-rw-r--r--sys-apps/grep/ChangeLog5
-rw-r--r--sys-apps/grep/grep-2.9.ebuild8
2 files changed, 8 insertions, 5 deletions
diff --git a/sys-apps/grep/ChangeLog b/sys-apps/grep/ChangeLog
index f793f23feeb4..07b08cf5c1e1 100644
--- a/sys-apps/grep/ChangeLog
+++ b/sys-apps/grep/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/grep
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.100 2011/07/07 03:04:19 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.101 2011/08/13 11:18:27 grobian Exp $
+
+ 13 Aug 2011; Fabian Groffen <grobian@gentoo.org> grep-2.9.ebuild:
+ Add Prefix support, transferred Prefix keywords
07 Jul 2011; Alexis Ballier <aballier@gentoo.org> grep-2.9.ebuild:
depend on virtual/libiconv, bug #363101
diff --git a/sys-apps/grep/grep-2.9.ebuild b/sys-apps/grep/grep-2.9.ebuild
index b6bf6659533f..d03c00d4adaf 100644
--- a/sys-apps/grep/grep-2.9.ebuild
+++ b/sys-apps/grep/grep-2.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.9.ebuild,v 1.2 2011/07/07 03:04:19 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.9.ebuild,v 1.3 2011/08/13 11:18:27 grobian Exp $
EAPI="3"
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls pcre"
RDEPEND="nls? ( virtual/libintl )
@@ -22,10 +22,10 @@ DEPEND="${RDEPEND}
src_configure() {
econf \
- --bindir=/bin \
+ --bindir="${EPREFIX}"/bin \
$(use_enable nls) \
$(use_enable pcre perl-regexp) \
- $(use elibc_FreeBSD || echo --without-included-regex)
+ $(use !elibc_glibc || echo --without-included-regex)
}
src_install() {