pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/polarssl Resulting shared library built with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a73e6c458c2
branches:  trunk
changeset: 649030:6a73e6c458c2
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Sat Mar 28 19:05:50 2015 +0000

description:
Resulting shared library built with the zlib option links against it, so
use PKG_BUILD_OPTIONS here.

diffstat:

 security/polarssl/buildlink3.mk |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r d6339ca779cc -r 6a73e6c458c2 security/polarssl/buildlink3.mk
--- a/security/polarssl/buildlink3.mk   Sat Mar 28 19:01:02 2015 +0000
+++ b/security/polarssl/buildlink3.mk   Sat Mar 28 19:05:50 2015 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index