summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd21
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-05-31 10:01:36 +0000
committerdillo <dillo@pkgsrc.org>2005-05-31 10:01:36 +0000
commitf81ae835adc78533f22ce227d12d3f56e6076f1a (patch)
tree54f5cc64fe8b06d4695748b3d5b9967e8c030117 /mail/cyrus-imapd21
parent79084c0d28dd7c904bebb1b7d09f66fa505cfc47 (diff)
downloadpkgsrc-f81ae835adc78533f22ce227d12d3f56e6076f1a.tar.gz
Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also, make use of PKG_OPTIONS_LEGACY_VARS. Reviewed by wiz.
Diffstat (limited to 'mail/cyrus-imapd21')
-rw-r--r--mail/cyrus-imapd21/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/mail/cyrus-imapd21/Makefile b/mail/cyrus-imapd21/Makefile
index 59c9235ac84..fc6387c5cd0 100644
--- a/mail/cyrus-imapd21/Makefile
+++ b/mail/cyrus-imapd21/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2005/05/28 17:41:54 adrianp Exp $
+# $NetBSD: Makefile,v 1.30 2005/05/31 10:01:37 dillo Exp $
DISTNAME= cyrus-imapd-2.1.18
SVR4_PKGNAME= cimap
@@ -56,15 +56,11 @@ CONFIGURE_ARGS+= --with-bdb-incdir=${BUILDLINK_PREFIX.db3}/include/db3
CONFIGURE_ENV+= ac_cv_lib_${_var_}_db_create=no
.endfor
-.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
PKG_SUPPORTED_OPTIONS= gssapi inet6 kerberos kerberos4 recommended-db
+PKG_OPTIONS_LEGACY_VARS+= CYRUS_USE_INET6:inet6
+PKG_OPTIONS_LEGACY_VARS+= CYRUS_DB_RECOMMEND:recommend-db
+
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)