diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-03-06 20:25:55 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-03-06 20:25:55 +0000 |
commit | a8b160e9564a562a5d6978bea1db8b6fe1985a39 (patch) | |
tree | 8120352308f3aa754a32720f13bbd56ef8374825 /print/gtklp | |
parent | 07c185425d7716af435136e41cde5ddf2bce8126 (diff) | |
download | ports-a8b160e9564a562a5d6978bea1db8b6fe1985a39.tar.gz ports-a8b160e9564a562a5d6978bea1db8b6fe1985a39.zip |
Notes
Diffstat (limited to 'print/gtklp')
-rw-r--r-- | print/gtklp/files/patch-configure.in | 27 |
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) + |