summaryrefslogtreecommitdiff
path: root/news/inn
diff options
context:
space:
mode:
Diffstat (limited to 'news/inn')
-rw-r--r--news/inn/Makefile8
-rw-r--r--news/inn/options.mk15
2 files changed, 13 insertions, 10 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 6f457d95a22..ca329684ebc 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2007/07/04 20:54:54 jlam Exp $
+# $NetBSD: Makefile,v 1.85 2007/09/07 22:12:20 jlam Exp $
DISTNAME= inn-2.4.3
PKGREVISION= 1
@@ -14,7 +14,7 @@ COMMENT= The public release of InterNet News (INN)
CONFLICTS+= libradius-[0-9]* nntpclnt-[0-9]*
.include "Makefile.common"
-BUILD_DEFS+= USE_INET6
+
BUILD_DEFS+= INN_DATA_DIR
FILES_SUBST+= INN_DATA_DIR=${INN_DATA_DIR:Q}
@@ -82,10 +82,6 @@ RCD_SCRIPTS= innd
.include "../../mk/bsd.prefs.mk"
-.if defined(USE_INET6) && ${USE_INET6} == YES
-CONFIGURE_ARGS+= --enable-ipv6
-.endif
-
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-sendmail=/usr/lib/sendmail
.else
diff --git a/news/inn/options.mk b/news/inn/options.mk
index 9f00299ce9d..490cfc89150 100644
--- a/news/inn/options.mk
+++ b/news/inn/options.mk
@@ -1,12 +1,19 @@
-# $NetBSD: options.mk,v 1.2 2007/02/22 19:27:01 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2007/09/07 22:12:20 jlam Exp $
-PKG_OPTIONS_VAR= PKG_OPTIONS.inn
-PKG_SUPPORTED_OPTIONS= python
-PKG_SUGGESTED_OPTIONS=
+PKG_OPTIONS_VAR= PKG_OPTIONS.inn
+PKG_SUPPORTED_OPTIONS= inet6 python
+PKG_SUGGESTED_OPTIONS= # empty
.include "../../mk/bsd.options.mk"
###
+### IPv6 support
+###
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
+###
### Python support for INN
###
.if !empty(PKG_OPTIONS:Mpython)