$OpenBSD: patch-configure,v 1.5 2013/04/18 05:34:35 bentley Exp $
--- configure.orig	Wed Feb 29 18:17:13 2012
+++ configure	Mon Jan 21 11:33:17 2013
@@ -4622,7 +4622,7 @@ if ${ac_cv_lib_intl_gettext+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl  $LIBS"
+LIBS="-lintl -liconv $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -4657,7 +4657,7 @@ if test "x$ac_cv_lib_intl_gettext" = xyes; then :
 #define HAVE_LIBINTL 1
 _ACEOF
 
-  LIBS="-lintl $LIBS"
+  LIBS="-lintl -liconv $LIBS"
 
 fi
 
