openbsd-ports/misc/sh-utils/patches/patch-configure

31 lines
892 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2010/05/22 13:26:59 espie Exp $
--- configure.orig Sat Aug 14 14:51:35 1999
+++ configure Sat May 22 15:20:21 2010
@@ -11036,7 +11036,7 @@ if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat > conftest.$ac_ext <<EOF
#line 11042 "configure"
#include "confdefs.h"
@@ -11071,7 +11071,7 @@ if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat > conftest.$ac_ext <<EOF
#line 11077 "configure"
#include "confdefs.h"
@@ -11105,7 +11105,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = ye
#define $ac_tr_lib 1
EOF
- LIBS="-lintl $LIBS"
+ LIBS="-lintl -liconv $LIBS"
else
echo "$ac_t""no" 1>&6