openbsd-ports/devel/id-utils/patches/patch-configure
sturm 18a9741557 just match the first 2 chars of EDITOR to recognize vi mode, this way
a value of 'vim' works as expected
sync patches while here

from mfriedl@ who is too shy to commit to ports
2007-07-04 16:39:41 +00:00

31 lines
861 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2007/07/04 16:39:41 sturm Exp $
--- configure.orig Sun Apr 4 11:52:55 1999
+++ configure Wed Jul 4 18:32:54 2007
@@ -3545,7 +3545,7 @@ if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = 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 3551 "configure"
#include "confdefs.h"
@@ -3585,7 +3585,7 @@ if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = 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 3591 "configure"
#include "confdefs.h"
@@ -3628,7 +3628,7 @@ fi
if test "$gt_cv_func_gettext_libintl" = yes; then
- LIBS="$LIBS -lintl"
+ LIBS="$LIBS -lintl -liconv"
fi
fi