$OpenBSD: patch-configure,v 1.10 2008/04/09 10:15:36 ajacoutot Exp $
--- configure.orig	Sat Jan  5 08:34:39 2008
+++ configure	Wed Apr  9 11:54:25 2008
@@ -1979,7 +1979,7 @@ test -n "$target_alias" &&
     NONENONEs,x,x, &&
   program_prefix=${target_alias}-
 
-TARGETS=base
+TARGETS='base docs'
 APPLICATIONS='icewm icewm-session icesh icewmhint icewmbg icewmtray'
 TESTCASES=`echo src/test*.cc | sed 's%src/\([^ ]*\)\.cc%\1%g'`
 TESTCASES="$TESTCASES iceview icesame iceicon icerun icelist" # iceclock
@@ -10371,7 +10371,7 @@ if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; 
   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
@@ -10427,7 +10427,7 @@ fi
 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
 if test $ac_cv_lib_intl_bindtextdomain = yes; then
-   CORE_LIBS="${CORE_LIBS} -lintl"
+   CORE_LIBS="${CORE_LIBS} -lintl -liconv"
 
 else
    { { echo "$as_me:$LINENO: error: NLS (national language support) has been requested but
