summaryrefslogtreecommitdiff
path: root/net/wget/options.mk
diff options
context:
space:
mode:
authordillo <dillo>2005-05-31 10:01:36 +0000
committerdillo <dillo>2005-05-31 10:01:36 +0000
commit3d75323aa5391188ab027b2688faacf8286ace0c (patch)
tree54f5cc64fe8b06d4695748b3d5b9967e8c030117 /net/wget/options.mk
parent12f654f60a47071640b457d59c5edb54b8757615 (diff)
downloadpkgsrc-3d75323aa5391188ab027b2688faacf8286ace0c.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"
###