summaryrefslogtreecommitdiff
path: root/net/libfetch
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-08-13 21:49:47 +0000
committerjperkin <jperkin>2015-08-13 21:49:47 +0000
commitd4b7af55e8ba2cb67c25899fc20b2cbd6b31cdb4 (patch)
treecfc30b5fbe58d8887da6e5252b8488dcd57af1d3 /net/libfetch
parent44ee3e6c8034600652985cd1a1f281032a1a2a24 (diff)
downloadpkgsrc-d4b7af55e8ba2cb67c25899fc20b2cbd6b31cdb4.tar.gz
When the openssl option is enabled, ensure that the openssl libraries
required by the resulting libfetch.a are pulled in for dependencies.
Diffstat (limited to 'net/libfetch')
-rw-r--r--net/libfetch/buildlink3.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/libfetch/buildlink3.mk b/net/libfetch/buildlink3.mk
index 2d8c3f93498..50d14369105 100644
--- a/net/libfetch/buildlink3.mk
+++ b/net/libfetch/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2014/02/12 23:18:22 tron Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2015/08/13 21:49:47 jperkin Exp $
BUILDLINK_TREE+= libfetch
@@ -15,7 +15,8 @@ pkgbase := libfetch
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.libfetch:Mopenssl)
-.include "../../security/openssl/buildlink3.mk"
+. include "../../security/openssl/buildlink3.mk"
+BUILDLINK_LIBS.libfetch+= -lcrypto -lssl
.endif
.endif # LIBFETCH_BUILDLINK3_MK