From a14708bd5625442395069c87945396dc99c4a561 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 23 Mar 2010 21:11:54 +0000 Subject: Version bump. Fixes #232041 #269734 #274436 #283574. (Portage version: 2.2_rc67/cvs/Linux x86_64) --- sys-apps/grep/ChangeLog | 9 +++++++-- sys-apps/grep/grep-2.6.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 sys-apps/grep/grep-2.6.ebuild (limited to 'sys-apps') diff --git a/sys-apps/grep/ChangeLog b/sys-apps/grep/ChangeLog index 44b8f26f7cd9..5d5c96ead976 100644 --- a/sys-apps/grep/ChangeLog +++ b/sys-apps/grep/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/grep -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.92 2009/10/22 16:32:40 loki_val Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.93 2010/03/23 21:11:54 vapier Exp $ + +*grep-2.6 (23 Mar 2010) + + 23 Mar 2010; Mike Frysinger +grep-2.6.ebuild: + Version bump. Fixes #232041 #269734 #274436 #283574. 22 Oct 2009; Peter Alfredsen -grep-2.5.1a-r1.ebuild, -grep-2.5.3-r1.ebuild, -grep-2.5.4.ebuild: diff --git a/sys-apps/grep/grep-2.6.ebuild b/sys-apps/grep/grep-2.6.ebuild new file mode 100644 index 000000000000..60fbc2bc5c31 --- /dev/null +++ b/sys-apps/grep/grep-2.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.6.ebuild,v 1.1 2010/03/23 21:11:54 vapier Exp $ + +EAPI="2" + +DESCRIPTION="GNU regular expression matcher" +HOMEPAGE="http://www.gnu.org/software/grep/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz + mirror://gentoo/${P}.tar.gz" + +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" +IUSE="nls pcre" + +RDEPEND="nls? ( virtual/libintl ) + pcre? ( >=dev-libs/libpcre-7.8-r1 )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_configure() { + econf \ + --bindir=/bin \ + $(use_enable nls) \ + $(use_enable pcre perl-regexp) \ + $(use elibc_FreeBSD || echo --without-included-regex) \ + || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS TODO +} -- cgit v1.2.3-65-gdbad