summaryrefslogtreecommitdiff
path: root/security/openssl/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssl/options.mk')
-rw-r--r--security/openssl/options.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/security/openssl/options.mk b/security/openssl/options.mk
index 47e309ff069..25696de0f5a 100644
--- a/security/openssl/options.mk
+++ b/security/openssl/options.mk
@@ -1,11 +1,14 @@
-# $NetBSD: options.mk,v 1.4 2008/01/17 06:42:48 tnn Exp $
+# $NetBSD: options.mk,v 1.5 2008/04/12 22:43:12 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openssl
PKG_SUPPORTED_OPTIONS= idea mdc2 rc5
+
.include "../../mk/bsd.options.mk"
OPENSSL_LICENSE= # empty
+PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
+
###
### Support for the IDEA algorithm
### US Patent: 5214703
@@ -14,10 +17,9 @@ OPENSSL_LICENSE= # empty
###
.if !empty(PKG_OPTIONS:Midea)
OPENSSL_LICENSE+= idea-license
-PLIST_SUBST+= IDEA=
+PLIST.idea= yes
.else
CONFIGURE_ARGS+= no-idea
-PLIST_SUBST+= IDEA="@comment "
.endif
###
@@ -28,10 +30,9 @@ PLIST_SUBST+= IDEA="@comment "
# A license file is needed.
OPENSSL_LICENSE+= mdc2-nonlicense
CONFIGURE_ARGS+= enable-mdc2
-PLIST_SUBST+= MDC2=
+PLIST.mdc2= yes
.else
CONFIGURE_ARGS+= no-mdc2
-PLIST_SUBST+= MDC2="@comment "
.endif
###
@@ -42,10 +43,9 @@ PLIST_SUBST+= MDC2="@comment "
# A license file is needed.
OPENSSL_LICENSE+= rc5-nonlicense
CONFIGURE_ARGS+= enable-rc5
-PLIST_SUBST+= RC5=
+PLIST.rc5= yes
.else
CONFIGURE_ARGS+= no-rc5
-PLIST_SUBST+= RC5="@comment "
.endif
.if !empty(OPENSSL_LICENSE)