diff options
author | rodent <rodent> | 2015-03-28 19:05:50 +0000 |
---|---|---|
committer | rodent <rodent> | 2015-03-28 19:05:50 +0000 |
commit | bf0cbdf27054ff5ddc6ea2c0d88247180d2db97f (patch) | |
tree | 7a9acf813691f62743c255ebc24d125eadb9fc21 /security | |
parent | 37a4839132abbcb35561bb436bd5a11dd38e2024 (diff) | |
download | pkgsrc-bf0cbdf27054ff5ddc6ea2c0d88247180d2db97f.tar.gz |
Resulting shared library built with the zlib option links against it, so
use PKG_BUILD_OPTIONS here.
Diffstat (limited to 'security')
-rw-r--r-- | security/polarssl/buildlink3.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/security/polarssl/buildlink3.mk b/security/polarssl/buildlink3.mk index 18bc2b1e600..a35360908df 100644 --- a/security/polarssl/buildlink3.mk +++ b/security/polarssl/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2015/03/27 23:30:42 rodent Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2015/03/28 19:05:50 rodent Exp $ BUILDLINK_TREE+= polarssl @@ -8,6 +8,13 @@ POLARSSL_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.polarssl+= polarssl>=0.10.0 BUILDLINK_PKGSRCDIR.polarssl?= ../../security/polarssl +pkgbase := polarssl +.include "../../mk/pkg-build-options.mk" + +.if !empty(PKG_BUILD_OPTIONS.polarssl:Mzlib) +.include "../../devel/zlib/buildlink3.mk" +.endif + .endif # POLARSSL_BUILDLINK3_MK BUILDLINK_TREE+= -polarssl |