diff options
author | jlam <jlam> | 2004-08-22 19:32:51 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-08-22 19:32:51 +0000 |
commit | 5cc6a7c1f324655a55780f73b3d7d11d39d55ec5 (patch) | |
tree | be106f064832dabfe855335adc4a7d14708a360a /mail/cyrus-imapd21 | |
parent | a3f9a03576685fb9a6a35d58b1695247504fc00a (diff) | |
download | pkgsrc-5cc6a7c1f324655a55780f73b3d7d11d39d55ec5.tar.gz |
Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework. Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.
This fixes PR pkg/26590.
Diffstat (limited to 'mail/cyrus-imapd21')
-rw-r--r-- | mail/cyrus-imapd21/Makefile | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/mail/cyrus-imapd21/Makefile b/mail/cyrus-imapd21/Makefile index 03e0b13adec..8cca2bf7e10 100644 --- a/mail/cyrus-imapd21/Makefile +++ b/mail/cyrus-imapd21/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2004/07/31 03:52:00 jlam Exp $ +# $NetBSD: Makefile,v 1.23 2004/08/22 19:32:51 jlam Exp $ DISTNAME= cyrus-imapd-2.1.15 PKGREVISION= 3 @@ -59,24 +59,11 @@ CONFIGURE_ARGS+= --with-bdb-incdir=${BUILDLINK_PREFIX.db3}/include/db3 CONFIGURE_ENV+= ac_cv_lib_${_var_}_db_create=no .endfor -# Global and legacy options -.if defined(CYRUS_USE_INET6) || defined(CYRUS_DB_RECOMMENDED) || \ - defined(KERBEROS) -. if !defined(PKG_OPTIONS.cyrus-imapd) -. if defined(CYRUS_USE_INET6) -PKG_OPTIONS.cyrus-imapd+= inet6 -. endif -. if defined(CYRUS_DB_RECOMMENDED) -PKG_OPTIONS.cyrus-imapd+= recommended-db -. endif -. if defined(KERBEROS) -. if ${KERBEROS} == "4" -PKG_OPTIONS.cyrus-imapd+= kerberos4 -. else -PKG_OPTIONS.cyrus-imapd+= kerberos -. endif -. endif -. endif +.if defined(CYRUS_USE_INET6) +PKG_DEFAULT_OPTIONS+= inet6 +.endif +.if defined(CYRUS_DB_RECOMMENDED) +PKG_DEFAULT_OPTIONS+= recommended-db .endif PKG_OPTIONS_VAR= PKG_OPTIONS.cyrus-imapd |