$OpenBSD: patch-configure,v 1.4 2008/05/02 08:14:53 steven Exp $
--- configure.orig	Mon Oct 30 14:32:54 2006
+++ configure	Fri May  2 01:28:00 2008
@@ -30308,7 +30308,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
@@ -30369,7 +30369,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
 
