ports/59154: [PATCH] x11-wm/fvwm2-devel cannot correctly disable gtk support

Guido Berhoerster ich at guido-berhoerster.org
Mon Nov 10 23:20:19 UTC 2003


>Number:         59154
>Category:       ports
>Synopsis:       [PATCH] x11-wm/fvwm2-devel cannot correctly disable gtk support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 10 15:20:14 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Guido Berhoerster
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hal.privat.lan 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Wed Nov 5 14:25:38 CET 2003 root at hal.privat.lan:/usr/obj/usr/src/sys/HAL i386


	
>Description:
The fvwm2-devel port currently checks if imlib is installed and then
enables gtk and imlib support. If imlib is not installed but gtk is,
fvwm will still be built with gtk support because of wrong options
that are passed to configure. As a result the FvwmGtk module will be
installed but not listed in plist and fvwm2-devel can't be
deinstalled correctly.

	
>How-To-Repeat:
Make sure x11-toolkits/gtk12 is installed but graphics/imlib is not.
cd /usr/ports/x11-wm/fvwm2-devel && make install && make deinstall

/usr/X11R6/libexec/fvwm/2.5.8/FvwmGtk will be left over
	
>Fix:

	

--- fvwm2-devel.diff begins here ---
--- Makefile.orig	Sat Nov  8 22:08:40 2003
+++ Makefile	Mon Nov 10 23:52:51 2003
@@ -79,7 +79,7 @@
 CONFIGURE_ARGS+=	--enable-gtktest --enable-imlibtest
 PLIST_SUB+=	GTK=""
 .else
-CONFIGURE_ARGS+=	--disable-gtktest --disable-imlibtest
+CONFIGURE_ARGS+=	--with-gtk-prefix=/no/dir --with-imlib-prefix=/no/dir
 PLIST_SUB+=	GTK="@comment not installed: "
 .endif
 
--- fvwm2-devel.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list