openbsd-ports/net/wget/patches/patch-configure
sthen 1048c7b1c1 maintenance update to 1.1.4, a couple of fixes. while there,
adjust to use ${SUBST_CMD}.

ok okan@
2008-10-09 18:50:44 +00:00

22 lines
669 B
Plaintext

$OpenBSD: patch-configure,v 1.7 2008/10/09 18:50:45 sthen Exp $
--- configure.orig Mon Jun 30 02:41:15 2008
+++ configure Thu Oct 9 15:34:59 2008
@@ -12562,7 +12562,7 @@ if test "${ac_cv_lib_intl_gettext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -12619,7 +12619,7 @@ fi
echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6; }
if test $ac_cv_lib_intl_gettext = yes; then
- LIBS="-lintl $LIBS"
+ LIBS="-lintl -liconv $LIBS"
cat >>confdefs.h <<\_ACEOF
#define HAVE_GETTEXT 1