diff options
author | reed <reed@pkgsrc.org> | 2008-09-17 00:46:58 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2008-09-17 00:46:58 +0000 |
commit | 8748c6679e04218202577718e94a1cd13351129e (patch) | |
tree | 3eeac0ec18daef356a734fde61842bf51c3d408c /security | |
parent | d1be0e11002af8126eb1a4173694001d3f0afdb0 (diff) | |
download | pkgsrc-8748c6679e04218202577718e94a1cd13351129e.tar.gz |
Add zlib option.
This is for PR 39433.
It is not enabled by default.
Diffstat (limited to 'security')
-rw-r--r-- | security/openssl/Makefile | 3 | ||||
-rw-r--r-- | security/openssl/options.mk | 11 |
2 files changed, 11 insertions, 3 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile index d885c25386c..a1bc8523dfe 100644 --- a/security/openssl/Makefile +++ b/security/openssl/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.134 2008/07/14 03:52:54 tnn Exp $ +# $NetBSD: Makefile,v 1.135 2008/09/17 00:46:58 reed Exp $ OPENSSL_SNAPSHOT?= # empty OPENSSL_STABLE?= # empty OPENSSL_VERS?= 0.9.8h +PKGREVISION= 1 .if empty(OPENSSL_SNAPSHOT) DISTNAME= openssl-${OPENSSL_VERS} diff --git a/security/openssl/options.mk b/security/openssl/options.mk index 25696de0f5a..c160850538c 100644 --- a/security/openssl/options.mk +++ b/security/openssl/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.5 2008/04/12 22:43:12 jlam Exp $ +# $NetBSD: options.mk,v 1.6 2008/09/17 00:46:58 reed Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.openssl -PKG_SUPPORTED_OPTIONS= idea mdc2 rc5 +PKG_SUPPORTED_OPTIONS= idea mdc2 rc5 zlib .include "../../mk/bsd.options.mk" @@ -48,6 +48,13 @@ PLIST.rc5= yes CONFIGURE_ARGS+= no-rc5 .endif +.if !empty(PKG_OPTIONS:Mzlib) +CONFIGURE_ARGS+= zlib +.include "../../devel/zlib/buildlink3.mk" +.else +CONFIGURE_ARGS+= no-zlib +.endif + .if !empty(OPENSSL_LICENSE) # pkgsrc does not handle multiple licenses LICENSE= openssl-patented-algorithms-nonlicense |