pkgsrc/www/curl/buildlink3.mk
wiz b9f8b966b2 Packages that link against libcurl built with http2 option set fail to
link against nghttp2 library, evidently due to missing entries in the
buildlink3.mk.

From Aleksey Arens in PR 51131.
2016-05-12 07:56:09 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.32 2016/05/12 07:56:09 wiz Exp $
BUILDLINK_TREE+= curl
.if !defined(CURL_BUILDLINK3_MK)
CURL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.curl+= curl>=7.12.3
BUILDLINK_ABI_DEPENDS.curl+= curl>=7.47.1nb1
BUILDLINK_PKGSRCDIR.curl?= ../../www/curl
pkgbase:= curl
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.curl:Mlibssh2)
. include "../../security/libssh2/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.curl:Mgssapi)
. include "../../mk/krb5.buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.curl:Mldap)
. include "../../databases/openldap-client/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.curl:Mrtmp)
. include "../../net/rtmpdump/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.curl:Mlibidn)
. include "../../devel/libidn/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.curl:Mhttp2)
. include "../../www/nghttp2/buildlink3.mk"
.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.endif # CURL_BUILDLINK3_MK
BUILDLINK_TREE+= -curl