pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/wget wget: Use devel/libidn2 and adjust `idn' opti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/474d4702ebd2
branches:  trunk
changeset: 371512:474d4702ebd2
user:      leot <leot%pkgsrc.org@localhost>
date:      Tue Nov 14 09:51:13 2017 +0000

description:
wget: Use devel/libidn2 and adjust `idn' option logic in options.mk

Since wget-1.19, libidn2 is needed for the IDN/IRIs support. Adjust
the `idn' package option logic to reflect that and explicitly ask
for it via CONFIGURE_ARGS. This should also fix the build without
the `idn' option selected pointed out by john heasley via PR pkg/52726.

Bump PKGREVISION

diffstat:

 net/wget/Makefile   |  4 ++--
 net/wget/options.mk |  7 +++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 7c604e9b90ac -r 474d4702ebd2 net/wget/Makefile
--- a/net/wget/Makefile Tue Nov 14 09:45:54 2017 +0000
+++ b/net/wget/Makefile Tue Nov 14 09:51:13 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.136 2017/10/26 15:01:38 tez Exp $
+# $NetBSD: Makefile,v 1.137 2017/11/14 09:51:13 leot Exp $
 
 DISTNAME=      wget-1.19.1
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GNU:=wget/}
 EXTRACT_SUFX=  .tar.xz
diff -r 7c604e9b90ac -r 474d4702ebd2 net/wget/options.mk
--- a/net/wget/options.mk       Tue Nov 14 09:45:54 2017 +0000
+++ b/net/wget/options.mk       Tue Nov 14 09:51:13 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.9 2014/04/26 11:17:18 tron Exp $
+# $NetBSD: options.mk,v 1.10 2017/11/14 09:51:13 leot Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.wget
 PKG_SUPPORTED_OPTIONS= idn inet6
@@ -12,8 +12,11 @@
 ### Support IDN
 ###
 .if !empty(PKG_OPTIONS:Midn)
-.include "../../devel/libidn/buildlink3.mk"
+.include "../../devel/libidn2/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-iri
+.else
+CONFIGURE_ARGS+=       --disable-iri
 .endif
 
 ###



Home | Main Index | Thread Index | Old Index