summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-30 03:24:42 +0000
committerMike Frysinger <vapier@gentoo.org>2011-11-30 03:24:42 +0000
commit92b23dd9c1cc8a5b4389ba7fbcb8ea88cdd164bb (patch)
treeccf50cd165c77a0b4f20ae9bdf337e1b3d6eb0cb /sys-apps/gawk
parentSanitize kernel version test (diff)
downloadgentoo-2-92b23dd9c1cc8a5b4389ba7fbcb8ea88cdd164bb.tar.gz
gentoo-2-92b23dd9c1cc8a5b4389ba7fbcb8ea88cdd164bb.tar.bz2
gentoo-2-92b23dd9c1cc8a5b4389ba7fbcb8ea88cdd164bb.zip
Control readline support via USE=readline.
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/gawk')
-rw-r--r--sys-apps/gawk/ChangeLog5
-rw-r--r--sys-apps/gawk/gawk-4.0.0.ebuild10
2 files changed, 10 insertions, 5 deletions
diff --git a/sys-apps/gawk/ChangeLog b/sys-apps/gawk/ChangeLog
index bc98447d8122..09599de6b4f9 100644
--- a/sys-apps/gawk/ChangeLog
+++ b/sys-apps/gawk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/gawk
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.137 2011/08/05 19:08:07 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.138 2011/11/30 03:24:42 vapier Exp $
+
+ 30 Nov 2011; Mike Frysinger <vapier@gentoo.org> gawk-4.0.0.ebuild:
+ Control readline support via USE=readline.
05 Aug 2011; Jeroen Roovers <jer@gentoo.org> gawk-3.1.8.ebuild:
Stable for HPPA (bug #373939).
diff --git a/sys-apps/gawk/gawk-4.0.0.ebuild b/sys-apps/gawk/gawk-4.0.0.ebuild
index 6b0fecb6e711..d2077ca63bbd 100644
--- a/sys-apps/gawk/gawk-4.0.0.ebuild
+++ b/sys-apps/gawk/gawk-4.0.0.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/gawk/gawk-4.0.0.ebuild,v 1.1 2011/07/03 19:38:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-4.0.0.ebuild,v 1.2 2011/11/30 03:24:42 vapier Exp $
EAPI="2"
@@ -13,10 +13,11 @@ SRC_URI="mirror://gnu/gawk/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="nls"
+IUSE="nls readline"
# older gawk's provided shared lib for baselayout-1
-RDEPEND="!<sys-apps/baselayout-2.0.1"
+RDEPEND="!<sys-apps/baselayout-2.0.1
+ readline? ( sys-libs/readline )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
@@ -32,7 +33,8 @@ src_configure() {
export ac_cv_libsigsegv=no
econf \
--libexec='$(libdir)/misc' \
- $(use_enable nls)
+ $(use_enable nls) \
+ $(use_with readline)
}
src_install() {