diff options
author | jnemeth <jnemeth@pkgsrc.org> | 2011-11-02 22:51:07 +0000 |
---|---|---|
committer | jnemeth <jnemeth@pkgsrc.org> | 2011-11-02 22:51:07 +0000 |
commit | caeaab9b2c4c8c37e5c93216d85eaec68d456660 (patch) | |
tree | 37d193a3129ab7d9d69e9250d55aad18e79f24a0 /security/openssl/options.mk | |
parent | 44891396148f462bc0157facf56c5f867e5e77ca (diff) | |
download | pkgsrc-caeaab9b2c4c8c37e5c93216d85eaec68d456660.tar.gz |
Add a new threads option which is on by default. The purpose of this is
to allow other packages that can't handle threads to link against this.
No revbump since there is no change to binary packages.
Diffstat (limited to 'security/openssl/options.mk')
-rw-r--r-- | security/openssl/options.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/security/openssl/options.mk b/security/openssl/options.mk index c160850538c..91b77f3f89c 100644 --- a/security/openssl/options.mk +++ b/security/openssl/options.mk @@ -1,7 +1,8 @@ -# $NetBSD: options.mk,v 1.6 2008/09/17 00:46:58 reed Exp $ +# $NetBSD: options.mk,v 1.7 2011/11/02 22:51:07 jnemeth Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.openssl -PKG_SUPPORTED_OPTIONS= idea mdc2 rc5 zlib +PKG_SUPPORTED_OPTIONS= idea mdc2 rc5 zlib threads +PKG_SUGGESTED_OPTIONS= threads .include "../../mk/bsd.options.mk" @@ -55,6 +56,12 @@ CONFIGURE_ARGS+= zlib CONFIGURE_ARGS+= no-zlib .endif +.if !empty(PKG_OPTIONS:Mthreads) +CONFIGURE_ARGS+= threads +.else +CONFIGURE_ARGS+= no-threads +.endif + .if !empty(OPENSSL_LICENSE) # pkgsrc does not handle multiple licenses LICENSE= openssl-patented-algorithms-nonlicense |