openbsd-ports/net/pavuk/patches/patch-configure

31 lines
963 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2008/01/22 20:12:48 fgsch Exp $
--- configure.orig Wed Jan 9 11:54:18 2008
+++ configure Wed Jan 9 11:55:00 2008
@@ -7406,7 +7406,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
@@ -7478,7 +7478,7 @@ fi
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5
echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6; }
if test $ac_cv_lib_intl_gettext = yes; then
- INTL_LIBS="-lintl";_INTL_LIB="intl"
+ INTL_LIBS="-lintl -liconv";_INTL_LIB="intl"
fi
fi
@@ -7497,7 +7497,7 @@ if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\"
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-l$_INTL_LIB $LIBS"
+LIBS="-l$_INTL_LIB -liconv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF