pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/curl
Module Name: pkgsrc
Committed By: ryoon
Date: Sat May 30 19:01:34 UTC 2026
Modified Files:
pkgsrc/www/curl: options.mk
Log Message:
www/curl: Add http3 option
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/www/curl/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/curl/options.mk
diff -u pkgsrc/www/curl/options.mk:1.27 pkgsrc/www/curl/options.mk:1.28
--- pkgsrc/www/curl/options.mk:1.27 Mon Jan 19 19:25:40 2026
+++ pkgsrc/www/curl/options.mk Sat May 30 19:01:34 2026
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.27 2026/01/19 19:25:40 gutteridge Exp $
+# $NetBSD: options.mk,v 1.28 2026/05/30 19:01:34 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.curl
PKG_SUPPORTED_OPTIONS= inet6 openssl libssh2 gssapi ldap rtmp idn http2
-PKG_SUPPORTED_OPTIONS+= brotli zstd
+PKG_SUPPORTED_OPTIONS+= http3 brotli zstd
PKG_SUGGESTED_OPTIONS= http2 inet6 idn
.if ${OPSYS} != "QNX"
PKG_SUGGESTED_OPTIONS+= openssl
@@ -72,6 +72,17 @@ TEST_DEPENDS+= nghttp2-tools-[0-9]*:../
CONFIGURE_ARGS+= --without-nghttp2
.endif
+.if !empty(PKG_OPTIONS:Mhttp3)
+USE_TOOLS+= pkg-config
+CONFIGURE_ARGS+= --with-nghttp3=${BUILDLINK_PREFIX.nghttp3}
+CONFIGURE_ARGS+= --with-ngtcp2=${BUILDLINK_PREFIX.ngtcp2}
+TEST_DEPENDS+= nghttp3-tools-[0-9]*:../../www/nghttp3-tools
+.include "../../net/ngtcp2/buildlink3.mk"
+.include "../../www/nghttp3/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-nghttp3
+.endif
+
.if !empty(PKG_OPTIONS:Mbrotli)
.include "../../archivers/brotli/buildlink3.mk"
CONFIGURE_ARGS+= --with-brotli
Home |
Main Index |
Thread Index |
Old Index