diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-01 14:37:31 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-01 14:37:31 +0000 |
commit | 29315a0d37ef7b73ac1914088a94f70f611bdc79 (patch) | |
tree | af9a96a823527c742ecc1b328b914e09bab1cb8d /mail | |
parent | a46079128aaa6191dc77322fa5b6e87415afadbb (diff) | |
download | pkgsrc-29315a0d37ef7b73ac1914088a94f70f611bdc79.tar.gz |
Finish conversion to options framework.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/cucipop/Makefile | 9 |
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 |