pkgsrc-Bugs archive

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

pkg/51131: buildlink3.mk for curl missing entries for nghttp2



>Number:         51131
>Category:       pkg
>Synopsis:       buildlink3.mk for curl missing entries for nghttp2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 12 00:35:00 +0000 2016
>Originator:     Aleksey Arens
>Release:        pkgsrc-current 2016-05-09
>Organization:
University of Washington
>Environment:
NetBSD shell02.opennet.corp 7.99.29 NetBSD 7.99.29 (GENERIC.201605031000Z) amd64
>Description:
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.

>How-To-Repeat:
Attempt to build e.g. audio/vorbis-tools with PKG_OPTIONS.curl+=http2.
>Fix:
This change had fixed the problem:

diff -u -p -r1.31 buildlink3.mk
--- buildlink3.mk       5 Mar 2016 11:27:57 -0000       1.31
+++ buildlink3.mk       12 May 2016 00:25:10 -0000
@@ -26,6 +26,9 @@ pkgbase:= curl
 .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"


Home | Main Index | Thread Index | Old Index