diff options
author | sbd <sbd@pkgsrc.org> | 2012-06-15 00:29:27 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-06-15 00:29:27 +0000 |
commit | ebbb80b3bc178a30a8fe6bcfd3383ba6eac06f58 (patch) | |
tree | 6797c25864c3487f5c953b28dd995a4a5a161d21 /lang/gawk | |
parent | b6622dd12df7c57b5112b608fee0c620b8652a8d (diff) | |
download | pkgsrc-ebbb80b3bc178a30a8fe6bcfd3383ba6eac06f58.tar.gz |
Move pkg options to options.mk
Diffstat (limited to 'lang/gawk')
-rw-r--r-- | lang/gawk/Makefile | 11 | ||||
-rw-r--r-- | lang/gawk/options.mk | 10 |
2 files changed, 12 insertions, 9 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile index f4cd763192a..65da5a18dd0 100644 --- a/lang/gawk/Makefile +++ b/lang/gawk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2012/05/31 10:44:30 fhajny Exp $ +# $NetBSD: Makefile,v 1.49 2012/06/15 00:29:27 sbd Exp $ DISTNAME= gawk-4.0.1 PKGREVISION= 1 @@ -30,14 +30,7 @@ CPPFLAGS.OSF1+= -D_OSF_SOURCE .include "../../mk/bsd.prefs.mk" -PKG_OPTIONS_VAR= PKG_OPTIONS.gawk -PKG_SUPPORTED_OPTIONS= portals - -.include "../../mk/bsd.options.mk" - -.if !empty(PKG_OPTIONS:Mportals) -CONFIGURE_ARGS+= --enable-portals -.endif +.include "options.mk" .if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) CFLAGS+= -Dvm_region=vm_region_64 diff --git a/lang/gawk/options.mk b/lang/gawk/options.mk new file mode 100644 index 00000000000..4d66a789bf1 --- /dev/null +++ b/lang/gawk/options.mk @@ -0,0 +1,10 @@ +# $NetBSD: options.mk,v 1.1 2012/06/15 00:29:27 sbd Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gawk +PKG_SUPPORTED_OPTIONS= portals + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mportals) +CONFIGURE_ARGS+= --enable-portals +.endif |