File wmakerconf-2.9-config.patch of Package wmakerconf

--- configure.in
+++ configure.in
@@ -132,7 +132,10 @@
 fi
 
 # Add some common include and library path's
-CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/usr/X11/include/ -I/usr/X11R6/include/ -I/usr/X11R6/include/X11 -I/usr/openwin/include -I$wprefix/include"
+CPPFLAGS="$CPPFLAGS -I/usr/X11/include/ -I/usr/X11R6/include/ -I/usr/X11R6/include/X11 -I/usr/openwin/include"
+case $wprefix in /usr|/usr/local) ;;
+*) CPPFLAGS="$CPPFLAGS -I$wprefix/include" ;;
+esac
 LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/X11/lib -L/usr/X11R6/lib -L/usr/openwin/lib -L$wprefix/lib"
 
 # Checks for socket and nsl library, required on Solaris systems
@@ -280,6 +283,7 @@
 AC_SUBST(INSTOBJEXT)
 INSTOBJEXT=.gmo
 AM_GNU_GETTEXT
+AM_GNU_GETTEXT_VERSION(0.12)
 
 if test "x$gt_cv_func_gettext_libintl" = "xyes"; then
         LIBS="$LIBS -lintl"