summaryrefslogtreecommitdiff
path: root/net/wget/options.mk
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 /net/wget/options.mk
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 'net/wget/options.mk')
-rw-r--r--net/wget/options.mk15
1 files changed, 4 insertions, 11 deletions
diff --git a/net/wget/options.mk b/net/wget/options.mk
index 7fa47622382..0594a9eaa3f 100644
--- a/net/wget/options.mk
+++ b/net/wget/options.mk
@@ -1,17 +1,10 @@
-# $NetBSD: options.mk,v 1.1 2005/02/09 17:51:47 tv Exp $
-
-# Global and legacy options
-.if defined(WGET_USE_SSL)
-BUILD_DEFS+= WGET_USE_SSL
-. if !empty(WGET_USE_SSL:M[Yy][Ee][Ss])
-PKG_DEFAULT_OPTIONS+= ssl
-. endif
-.else
-PKG_DEFAULT_OPTIONS+= ssl # on by default
-.endif
+# $NetBSD: options.mk,v 1.2 2005/05/31 10:01:39 dillo Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.wget
PKG_SUPPORTED_OPTIONS= inet6 ssl
+PKG_SUGGESTED_OPTIONS= ssl
+PKG_OPTIONS_LEGACY_VARS+= WGET_USE_SSL:ssl
+
.include "../../mk/bsd.options.mk"
###