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

49 lines
1.3 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.2 2002/04/06 22:14:19 miod Exp $
2001-10-01 23:15:03 -04:00
--- configure.orig Mon Oct 1 22:48:30 2001
+++ configure Mon Oct 1 22:51:47 2001
@@ -3512,7 +3512,7 @@ else
cat conftest.$ac_ext >&5
fi
rm -f conftest*
- LDFLAGS=$ODL_LDFLAGS
+ LDFLAGS=$OLD_LDFLAGS
test -n "$dash_r" && break
done ;;
esac
@@ -3798,7 +3798,7 @@ EOF
done
if test x"$ssl_linked" = xno; then
- LD_FLAGS=$OLD_LDFLAGS
+ LDFLAGS=$OLD_LDFLAGS
LIBS=$OLD_LIBS
echo
echo "WARNING: Failed to link with OpenSSL libraries in $ssl_root/lib."
@@ -3807,7 +3807,7 @@ EOF
fi
fi
-ALL_LINGUAS=`(cd ${srcdir}/po && ls *.po | sed -e 's/\.po$//')`
+ALL_LINGUAS="cs da de el es et fr gl hr it ja nl no pl pt_BR ru sk sl sv tr zh_TW"
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
@@ -4246,7 +4246,7 @@
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 4252 "configure"
#include "confdefs.h"
@@ -4275,7 +4275,7 @@
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- LIBS="-lintl $LIBS"
+ LIBS="-lintl -liconv $LIBS"
cat >> confdefs.h <<\EOF
#define HAVE_GETTEXT 1
EOF