openbsd-ports/net/wget/patches/patch-configure
2002-12-10 18:22:06 +00:00

49 lines
1.3 KiB
Plaintext

$OpenBSD: patch-configure,v 1.3 2002/12/10 18:22:06 brad Exp $
--- configure.orig Tue Dec 10 13:03:25 2002
+++ configure Tue Dec 10 13:03:25 2002
@@ -3715,7 +3715,7 @@ else
cat conftest.$ac_ext >&5
fi
rm -f conftest*
- LDFLAGS=$ODL_LDFLAGS
+ LDFLAGS=$OLD_LDFLAGS
test -n "$dash_r" && break
done ;;
esac
@@ -4001,7 +4001,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."
@@ -4010,7 +4010,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 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
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 @@ fi
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