summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd21
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-22 19:32:51 +0000
committerjlam <jlam@pkgsrc.org>2004-08-22 19:32:51 +0000
commit9d5426ff76defa85311d3e55ed2c442fb5ae9977 (patch)
treebe106f064832dabfe855335adc4a7d14708a360a /mail/cyrus-imapd21
parent3c0724db4840983688df4cd77ea88653e9b13249 (diff)
downloadpkgsrc-9d5426ff76defa85311d3e55ed2c442fb5ae9977.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/Makefile25
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