$OpenBSD: patch-configure,v 1.5 2008/11/13 13:14:05 ajacoutot Exp $
--- configure.orig	Wed Aug 20 21:47:53 2008
+++ configure	Sun Nov  9 15:51:07 2008
@@ -32252,7 +32252,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
@@ -32312,7 +32312,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