aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-03-07 04:25:55 +0800
committermiwi <miwi@FreeBSD.org>2008-03-07 04:25:55 +0800
commit3c84a9939714259a2a278a645e5dd93922fb4b97 (patch)
treecc1f37eefd83f74045619bfb76da07e44e6a6217 /print
parent4ccb8862721b64c54f0210650595c6d9fbbfeba5 (diff)
downloadfreebsd-ports-gnome-3c84a9939714259a2a278a645e5dd93922fb4b97.tar.gz
freebsd-ports-gnome-3c84a9939714259a2a278a645e5dd93922fb4b97.tar.zst
freebsd-ports-gnome-3c84a9939714259a2a278a645e5dd93922fb4b97.zip
- Fix build
PR: 121281 Submitted by: Tobias Roth <ports@fsck.ch>
Diffstat (limited to 'print')
-rw-r--r--print/gtklp/files/patch-configure.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/print/gtklp/files/patch-configure.in b/print/gtklp/files/patch-configure.in
new file mode 100644
index 000000000000..c6f171d96add
--- /dev/null
+++ b/print/gtklp/files/patch-configure.in
@@ -0,0 +1,27 @@
+--- configure.in.orig 2007-11-15 18:56:57.000000000 +0100
++++ configure.in 2008-03-02 11:25:59.000000000 +0100
+@@ -43,20 +43,10 @@
+
+ # gtk #######################################################################
+ GTKVER=""
+-if test x$enable_gtk1 = xyes; then
+- AM_PATH_GTK([1.2.8],,[AC_ERROR([GTK+ 1.2.8 or newer is needed for GtkLP!])])
+- GTKVER="-DHAVE_GTK1"
+- OLDDIALOG="-DOLDDIALOG"
+- AC_SUBST(OLDDIALOG)
+-else
+- AC_MSG_RESULT([ ******************************************************** ])
+- AC_MSG_RESULT([ * If checking for Gtk2 fails, try to use --enable-gtk1 * ])
+- AC_MSG_RESULT([ ******************************************************** ])
+- PKG_CHECK_MODULES(GTK2, gtk+-2.0)
+- AC_SUBST(GTK2_CFLAGS)
+- AC_SUBST(GTK2_LIBS)
+- GTKVER="-DHAVE_GTK2"
+-fi
++PKG_CHECK_MODULES(GTK2, gtk+-2.0)
++AC_SUBST(GTK2_CFLAGS)
++AC_SUBST(GTK2_LIBS)
++GTKVER="-DHAVE_GTK2"
+
+ AC_SUBST(GTKVER)
+