diff options
author | jperkin <jperkin> | 2015-08-13 21:49:47 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-08-13 21:49:47 +0000 |
commit | d4b7af55e8ba2cb67c25899fc20b2cbd6b31cdb4 (patch) | |
tree | cfc30b5fbe58d8887da6e5252b8488dcd57af1d3 /net/libfetch | |
parent | 44ee3e6c8034600652985cd1a1f281032a1a2a24 (diff) | |
download | pkgsrc-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.mk | 5 |
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 |