summaryrefslogtreecommitdiff
path: root/x11/gnopernicus
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-01 19:44:07 +0000
committerwiz <wiz@pkgsrc.org>2005-06-01 19:44:07 +0000
commit7b44fa993ba69c5c5c86bca32f2cca711d120e4b (patch)
tree48e4544dfc39fa04b668c98800a40d0080b4371c /x11/gnopernicus
parent0947c7c9a344184e8ef099a0eb29ac11250e58ba (diff)
downloadpkgsrc-7b44fa993ba69c5c5c86bca32f2cca711d120e4b.tar.gz
Convert to options framework.
Diffstat (limited to 'x11/gnopernicus')
-rw-r--r--x11/gnopernicus/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11/gnopernicus/Makefile b/x11/gnopernicus/Makefile
index 130929a1e88..23e11f8c457 100644
--- a/x11/gnopernicus/Makefile
+++ b/x11/gnopernicus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2005/06/01 18:03:28 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2005/06/01 19:46:17 wiz Exp $
#
DISTNAME= gnopernicus-0.10.6
@@ -31,11 +31,12 @@ CONF_FILES+= ${EGDIR}/translation_tables/es.a2b \
CONF_FILES+= ${EGDIR}/translation_tables/sv.a2b \
${PKG_SYSCONFDIR}/translation_tables/sv.a2b
-.include "../../mk/bsd.prefs.mk"
+PKG_OPTIONS_VAR= PKG_OPTIONS.gnopernicus
+PKG_SUPPORTED_OPTIONS= inet6
-BUILD_DEFS+= USE_INET6
+.include "../../mk/bsd.options.mk"
-.if !empty(USE_INET6:M[Yy][Ee][Ss])
+.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6