wget: try to fix libunistring dependency

wget 1.91.1 configure script tries to link libunistring
if that is found. That lib is rather large and is not that
essential for normal operations, so instead of depending
on that, try to avoid linking it.

Revert an upstream commit that removed the clearance of
libunistring data in case IRI is explicitly disabled
(like we have it).

Reference to upstream commits:
http://git.savannah.gnu.org/cgit/wget.git/commit/?id=00ae9b4ee2caa6640776e9777e7ef5a374d082c0
http://git.savannah.gnu.org/cgit/wget.git/commit/?id=990f3d67d340d226bbd4187f5d310a4d2bf2bfe4

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
Hannu Nyman 2017-09-18 20:40:16 +03:00
parent a5b23eff1c
commit 50148276a1
2 changed files with 15 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=wget
PKG_VERSION:=1.19.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)

View File

@ -0,0 +1,14 @@
--- a/configure.ac
+++ b/configure.ac
@@ -663,6 +663,11 @@ if test "X$iri" != "Xno"; then
# ])
])
fi
+if test "X$iri" = "Xno"; then
+ # we don't need libunistring - clear settings from gnulib module
+ LIBUNISTRING=""
+ LTLIBUNISTRING=""
+fi
dnl
dnl Check for UUID