openbsd-ports/mail/fetchmail/patches/patch-configure
alek 79c2dcee03 - Fix libintl detection
- Don't use bundled libintl headers
- Bump PKGNAME
2005-02-19 21:27:35 +00:00

31 lines
863 B
Plaintext

$OpenBSD: patch-configure,v 1.7 2005/02/19 21:27:35 alek Exp $
--- configure.orig Fri Oct 10 10:39:54 2003
+++ configure Sat Feb 19 14:04:10 2005
@@ -8735,7 +8735,7 @@ if test "${ac_cv_lib_intl_gettext+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. */
@@ -8784,7 +8784,7 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5
echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6
if test $ac_cv_lib_intl_gettext = yes; then
- LIBS="$LIBS -lintl"
+ LIBS="$LIBS -lintl -liconv"
fi
@@ -12795,7 +12795,7 @@ _ACEOF
_ACEOF
CEFLAGS="$CEFLAGS -I/usr/include/kerberosV"
- LIBS="$LIBS -lasn1 -lkrb5 -lcom_err -lkafs"
+ LIBS="$LIBS -lkrb5"
else
if test "$with_kerberos5" != "yes"
then