From 9c435d97cc677d79b74e5e372fd22ec4b57a0a65 Mon Sep 17 00:00:00 2001 From: dillo Date: Tue, 31 May 2005 10:01:36 +0000 Subject: 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. --- net/wget/options.mk | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'net/wget') 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" ### -- cgit v1.2.3