openbsd-ports/misc/findutils/patches/patch-configure
alek 770143fb1c - Fix libintl detection
- Bump PKGNAME
2005-02-19 13:04:44 +00:00

22 lines
622 B
Plaintext

$OpenBSD: patch-configure,v 1.1 2005/02/19 13:04:44 alek Exp $
--- configure.orig Sat Feb 19 13:56:57 2005
+++ configure Sat Feb 19 13:58:03 2005
@@ -1892,7 +1892,7 @@ if eval "test \"`echo '${'ac_cv_lib_intl
echo $ac_n "(cached) $ac_c" 1>&4
else
ac_save_LIBS="$LIBS"
-LIBS="$LIBS -lintl "
+LIBS="$LIBS -lintl -liconv"
cat > conftest.$ac_ext <<EOF
#line 1898 "configure"
#include "confdefs.h"
@@ -1915,7 +1915,7 @@ LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'intl`\" = yes"; then
echo "$ac_t""yes" 1>&4
- LIBS="$LIBS -lintl"
+ LIBS="$LIBS -lintl -liconv"
else
echo "$ac_t""no" 1>&4
fi