diff options
author | sbd <sbd@pkgsrc.org> | 2012-06-15 00:32:27 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-06-15 00:32:27 +0000 |
commit | 395c404139ffea928863174e68069eef5604766b (patch) | |
tree | 3e1ca57edca7034bba6cd1f731555dcac88e6087 /lang/gawk | |
parent | 1dcb2dc1a25eb28db6eaccd3e3ff9372c99f0852 (diff) | |
download | pkgsrc-395c404139ffea928863174e68069eef5604766b.tar.gz |
Add readline option.
Bump PKGREVISION.
Diffstat (limited to 'lang/gawk')
-rw-r--r-- | lang/gawk/Makefile | 4 | ||||
-rw-r--r-- | lang/gawk/options.mk | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile index 65da5a18dd0..55a3a68b196 100644 --- a/lang/gawk/Makefile +++ b/lang/gawk/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.49 2012/06/15 00:29:27 sbd Exp $ +# $NetBSD: Makefile,v 1.50 2012/06/15 00:32:27 sbd Exp $ DISTNAME= gawk-4.0.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=gawk/} EXTRACT_SUFX= .tar.xz diff --git a/lang/gawk/options.mk b/lang/gawk/options.mk index 4d66a789bf1..a7f3c319ae6 100644 --- a/lang/gawk/options.mk +++ b/lang/gawk/options.mk @@ -1,10 +1,17 @@ -# $NetBSD: options.mk,v 1.1 2012/06/15 00:29:27 sbd Exp $ +# $NetBSD: options.mk,v 1.2 2012/06/15 00:32:27 sbd Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.gawk -PKG_SUPPORTED_OPTIONS= portals +PKG_SUPPORTED_OPTIONS= portals readline +PKG_SUGGESTED_OPTIONS= readline .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mportals) CONFIGURE_ARGS+= --enable-portals .endif + +.if !empty(PKG_OPTIONS:Mreadline) +.include "../../devel/readline/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-readline +.endif |