openbsd-ports/devel/cook/patches/patch-configure
2010-05-19 15:34:21 +00:00

31 lines
759 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2010/05/19 15:34:21 espie Exp $
--- configure.orig Mon Aug 26 14:29:53 2002
+++ configure Wed May 19 17:05:48 2010
@@ -1397,7 +1397,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+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 1403 "configure"
#include "confdefs.h"
@@ -1431,7 +1431,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
@@ -2820,7 +2820,7 @@ case "$libdir" in
*/cook/* | */cook )
;;
*)
- libdir="${libdir}/cook"
+ libdir="${libdir}"
;;
esac
case "$datadir" in