$OpenBSD: patch-configure,v 1.9 2007/10/05 14:15:13 ajacoutot Exp $
--- configure.orig	Tue Aug  7 07:12:15 2007
+++ configure	Fri Oct  5 16:05:37 2007
@@ -1461,7 +1461,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
@@ -10060,7 +10060,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
@@ -10119,7 +10119,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
