openbsd-ports/graphics/sodipodi/patches/patch-configure

39 lines
1.3 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2005/01/24 09:44:08 mbalmer Exp $
--- configure.orig Wed Feb 11 18:00:11 2004
+++ configure Sat Jan 22 16:04:35 2005
@@ -16347,7 +16347,7 @@ if test "${ac_cv_lib_intl_bindtextdomain
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
#line $LINENO "configure"
/* confdefs.h. */
@@ -16402,7 +16402,7 @@ if test "${ac_cv_lib_intl_dgettext+set}"
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
#line $LINENO "configure"
/* confdefs.h. */
@@ -16532,7 +16532,7 @@ fi
#
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
glib_save_LIBS="$LIBS"
- LIBS="$LIBS -lintl $libintl_extra_libs"
+ LIBS="$LIBS -lintl -liconv $libintl_extra_libs"
unset ac_cv_func_bind_textdomain_codeset
for ac_func in bind_textdomain_codeset
@@ -16692,6 +16692,7 @@ echo $ECHO_N "checking for $ac_func... $
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+ LIBS="-liconv ${LIBS}"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */