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
commit8f0d5afd9bd0b27a38c8b854543815597d980fa0 (patch)
tree48e4544dfc39fa04b668c98800a40d0080b4371c /x11/gnopernicus
parent339d39213e0083e076e211dea981c3c54bb39a1b (diff)
downloadpkgsrc-8f0d5afd9bd0b27a38c8b854543815597d980fa0.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