$OpenBSD: patch-configure,v 1.1.1.1 2008/11/17 18:58:58 jasper Exp $
--- configure.orig	Mon Nov 17 19:34:27 2008
+++ configure	Mon Nov 17 19:34:50 2008
@@ -4841,7 +4841,7 @@ if test "${ac_cv_lib_intl_gettext+set}" = set; then
   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
 /* confdefs.h.  */
 _ACEOF
@@ -4897,7 +4897,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
-  LIB_GETTEXT="-lintl $LIBICONV"
+  LIB_GETTEXT="-lintl -liconv $LIBICONV"
 fi
 
 save_libs=$LIBS
