summaryrefslogtreecommitdiff
path: root/mail/cue
diff options
context:
space:
mode:
authordillo <dillo>2005-05-31 10:01:36 +0000
committerdillo <dillo>2005-05-31 10:01:36 +0000
commit9314461cff3bf6aee8aa113f28f994a688cf822c (patch)
tree54f5cc64fe8b06d4695748b3d5b9967e8c030117 /mail/cue
parenta304436e23930aa6cf230d08033d086a7e5a2be5 (diff)
downloadpkgsrc-9314461cff3bf6aee8aa113f28f994a688cf822c.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")