summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-22 19:32:51 +0000
committerjlam <jlam@pkgsrc.org>2004-08-22 19:32:51 +0000
commit9d5426ff76defa85311d3e55ed2c442fb5ae9977 (patch)
treebe106f064832dabfe855335adc4a7d14708a360a /security/openssl
parent3c0724db4840983688df4cd77ea88653e9b13249 (diff)
downloadpkgsrc-9d5426ff76defa85311d3e55ed2c442fb5ae9977.tar.gz
Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework. Instead of appending to ${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes the default options to be the union of PKG_DEFAULT_OPTIONS and any old USE_* and FOO_USE_* settings. This fixes PR pkg/26590.
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 61293d0df62..9001267b879 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.94 2004/08/05 02:45:28 jlam Exp $
+# $NetBSD: Makefile,v 1.95 2004/08/22 19:32:52 jlam Exp $
DISTNAME= openssl-0.9.6m
SVR4_PKGNAME= ossl
@@ -35,12 +35,8 @@ CONFIGURE_ARGS+= shared
CONFIGURE_ARGS+= no-idea no-rc5 no-mdc2
# Global and legacy options
-.if defined(USE_RSAREF2)
-. if !defined(PKG_OPTIONS.openssl)
-. if defined(USE_RSAREF2) && !empty(USE_RSAREF2:M[yY][eE][sS])
-PKG_OPTIONS.openssl+= rsaref
-. endif
-. endif
+.if defined(USE_RSAREF2) && !empty(USE_RSAREF2:M[yY][eE][sS])
+PKG_DEFAULT_OPTIONS+= rsaref
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.openssl