summaryrefslogtreecommitdiff
path: root/mail/cue
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/cue
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/cue')
-rw-r--r--mail/cue/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/mail/cue/Makefile b/mail/cue/Makefile
index 700e954e4ac..c4eb4bce9bc 100644
--- a/mail/cue/Makefile
+++ b/mail/cue/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2005/04/11 21:46:18 tv Exp $
+# $NetBSD: Makefile,v 1.46 2005/05/31 10:01:37 dillo Exp $
DISTNAME= cue-snap-20050131
PKGNAME= cue-20050131
@@ -12,13 +12,10 @@ GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
-# Global & legacy options
-.if defined(CUE_USE_CANNA) && !empty(CUE_USE_CANNA:M[yY][eE][sS])
-PKG_DEFAULT_OPTIONS+= canna
-.endif
-
PKG_OPTIONS_VAR= PKG_OPTIONS.cue
PKG_SUPPORTED_OPTIONS= canna idea inet6
+PKG_OPTIONS_LEGACY_VARS+= CUE_USE_CANNA:canna
+
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6) && (${OPSYS} != "SunOS")