ports/121281: [PATCH] print/gtklp: fix configure error
Tobias Roth
ports at fsck.ch
Sun Mar 2 11:00:02 UTC 2008
>Number: 121281
>Category: ports
>Synopsis: [PATCH] print/gtklp: fix configure error
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 02 11:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Tobias Roth
>Release: FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD default.fsck.ch 7.0-STABLE FreeBSD 7.0-STABLE #4: Sat Mar 1 11:51:52 CET
>Description:
gtklp didn't compile on my machine due an unsupported m4 macro used for gtk1 suport. Since the port itself allready requires gtk2, I just removed the offending part (and thus support for gtk1) from configure.in.
Added file(s):
- files/patch-configure.in
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- gtklp-1.2.6.patch begins here ---
Index: files/patch-configure.in
===================================================================
RCS file: files/patch-configure.in
diff -N files/patch-configure.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-configure.in 2 Mar 2008 10:35:50 -0000
@@ -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)
+
--- gtklp-1.2.6.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list