summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-01 14:37:31 +0000
committerwiz <wiz@pkgsrc.org>2005-06-01 14:37:31 +0000
commit29315a0d37ef7b73ac1914088a94f70f611bdc79 (patch)
treeaf9a96a823527c742ecc1b328b914e09bab1cb8d /mail
parenta46079128aaa6191dc77322fa5b6e87415afadbb (diff)
downloadpkgsrc-29315a0d37ef7b73ac1914088a94f70f611bdc79.tar.gz
Finish conversion to options framework.
Diffstat (limited to 'mail')
-rw-r--r--mail/cucipop/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/mail/cucipop/Makefile b/mail/cucipop/Makefile
index e386b752299..81272e25a5b 100644
--- a/mail/cucipop/Makefile
+++ b/mail/cucipop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2005/04/11 21:46:18 tv Exp $
+# $NetBSD: Makefile,v 1.20 2005/06/01 14:37:31 wiz Exp $
#
DISTNAME= cucipop-1.31
@@ -17,8 +17,6 @@ USE_PKGINSTALL= YES
LICENSE= shareware
-BUILD_DEFS+= USE_INET6
-
MAKE_ENV+= ROOT_USER="${ROOT_USER}"
MAKE_ENV+= ROOT_GROUP="${ROOT_GROUP}"
@@ -26,7 +24,7 @@ MAKE_DIRS+= ${PREFIX}/share/cucipop/bulletins
SPECIAL_PERMS+= ${PREFIX}/sbin/cucipop ${ROOT_USER} ${ROOT_GROUP} 2755
PKG_OPTIONS_VAR= PKG_OPTIONS.cucipop
-PKG_SUPPORTED_OPTIONS= db
+PKG_SUPPORTED_OPTIONS= db inet6
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
@@ -38,8 +36,7 @@ MAKE_ENV+= LIBS=${BDB_LIBS}
. include "../../mk/bdb.buildlink3.mk"
.endif
-# to be friendly with pre-1.5 systems
-.if defined(USE_INET6) && (${USE_INET6} == "YES")
+.if !empty(PKG_OPTIONS:Minet6)
MAKE_ENV+= CFLAGS_INET6=-DINET6
.endif