aboutsummaryrefslogtreecommitdiff
path: root/print/gtklp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-03-06 20:25:55 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-03-06 20:25:55 +0000
commita8b160e9564a562a5d6978bea1db8b6fe1985a39 (patch)
tree8120352308f3aa754a32720f13bbd56ef8374825 /print/gtklp
parent07c185425d7716af435136e41cde5ddf2bce8126 (diff)
downloadports-a8b160e9564a562a5d6978bea1db8b6fe1985a39.tar.gz
ports-a8b160e9564a562a5d6978bea1db8b6fe1985a39.zip
Notes
Diffstat (limited to 'print/gtklp')
-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)
+