openbsd-ports/misc/fileutils/patches/patch-configure
2010-11-03 06:56:37 +00:00

31 lines
880 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2010/11/03 06:56:37 jasper Exp $
--- configure.orig Sun Apr 29 10:26:09 2001
+++ configure Wed Nov 3 07:55:57 2010
@@ -22370,7 +22370,7 @@ if test "${ac_cv_lib_intl_bindtextdomain+set}" = 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 22375 "configure"
#include "confdefs.h"
@@ -22421,7 +22421,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
#line 22426 "configure"
#include "confdefs.h"
@@ -22469,7 +22469,7 @@ if test $ac_cv_lib_intl_gettext = yes; then
#define HAVE_LIBINTL 1
EOF
- LIBS="-lintl $LIBS"
+ LIBS="-lintl -liconv $LIBS"
fi