$OpenBSD: patch-configure,v 1.6 2009/08/30 18:37:55 jasper Exp $
--- configure.orig	Sun Aug 30 20:31:59 2009
+++ configure	Sun Aug 30 20:33:05 2009
@@ -24691,7 +24691,7 @@ for lib in intl; do
     *) ne__code="bindtextdomain();" ;;
     esac
 
-    LIBS="$ne_sl_save_LIBS -l$lib $NEON_LIBS"
+    LIBS="$ne_sl_save_LIBS -l$lib -liconv $NEON_LIBS"
     cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -24756,7 +24756,7 @@ if test "$ne_cv_libsfor_bindtextdomain" = "not found";
 elif test "$ne_cv_libsfor_bindtextdomain" = "none needed"; then
    :
 else
-   NEON_LIBS="$ne_cv_libsfor_bindtextdomain $NEON_LIBS"
+   NEON_LIBS="$ne_cv_libsfor_bindtextdomain -liconv $NEON_LIBS"
 
 fi
 
