summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/gnurl/Makefile10
-rw-r--r--www/gnurl/options.mk8
2 files changed, 12 insertions, 6 deletions
diff --git a/www/gnurl/Makefile b/www/gnurl/Makefile
index 6f0bc4f42c1..7ccc1cc59c0 100644
--- a/www/gnurl/Makefile
+++ b/www/gnurl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2019/11/18 18:34:10 ng0 Exp $
+# $NetBSD: Makefile,v 1.8 2019/12/14 12:35:20 ng0 Exp $
DISTNAME= gnurl-7.67.0
CATEGORIES= www
@@ -13,7 +13,7 @@ LICENSE= mit
BUILD_DEFS+= IPV6_READY
-USE_TOOLS+= perl pkg-config
+USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
GNU_CONFIGURE= yes # make install depends on it
PKGCONFIG_OVERRIDE= libgnurl.pc.in
@@ -30,6 +30,7 @@ CONFIGURE_ARGS+= --without-winidn
CONFIGURE_ARGS+= --without-librtmp
CONFIGURE_ARGS+= --without-nghttp2
CONFIGURE_ARGS+= --without-nss
+# \todo: is cyassl deprecated?
CONFIGURE_ARGS+= --without-cyassl
CONFIGURE_ARGS+= --without-ssl
CONFIGURE_ARGS+= --without-winssl
@@ -51,14 +52,15 @@ CONFIGURE_ARGS+= --disable-smb
CONFIGURE_ARGS+= --disable-ntlm-wb
CONFIGURE_ARGS+= --with-gnutls
CONFIGURE_ARGS+= --with-libidn2
+# \todo: is with libz deprecated?
CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib}
# Fallback to gnutls preferred CA certificates
CONFIGURE_ARGS+= --without-ca-bundle
CONFIGURE_ARGS+= --without-ca-path
CONFIGURE_ARGS+= --with-ca-fallback
-# Do not pick up GSS, should be fixed in upstream.
+# Do not pick up GSS.
# https://bugs.gnunet.org/view.php?id=5610
-CONFIGURE_ARGS+= --without-gssapi
+# CONFIGURE_ARGS+= --without-gssapi
CONFIGURE_ARGS+= --disable-valgrind
# We do not want HTTP3 support yet, see release announcement
CONFIGURE_ARGS+= --without-ngtcp2
diff --git a/www/gnurl/options.mk b/www/gnurl/options.mk
index b08f117458d..feade1030d8 100644
--- a/www/gnurl/options.mk
+++ b/www/gnurl/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.1 2019/02/01 15:21:29 gdt Exp $
+# $NetBSD: options.mk,v 1.2 2019/12/14 12:35:20 ng0 Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnurl
-PKG_SUPPORTED_OPTIONS= inet6
+PKG_SUPPORTED_OPTIONS= inet6 tests
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
@@ -11,3 +11,7 @@ CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
+
+.if !empty(PKG_OPTIONS:Mtests)
+USE_TOOLS+= perl
+.endif