Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 00:14:37 +0100 (CET)
From:      Guido Berhoerster <ich@guido-berhoerster.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        cy@FreeBSD.org
Subject:   ports/59153: [PATCH] x11/fvwm2 cannot correctly disable gtk support
Message-ID:  <200311102314.hAANEbRd065411@hal.privat.lan>
Resent-Message-ID: <200311102320.hAANKEZI088242@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59153
>Category:       ports
>Synopsis:       [PATCH] x11/fvwm2 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@hal.privat.lan:/usr/obj/usr/src/sys/HAL i386


	
>Description:
The fvwm2 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 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 && make install && make deinstall

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

	

--- fvwm2.diff begins here ---
--- Makefile.orig	Mon Nov  3 21:41:42 2003
+++ Makefile	Mon Nov 10 23:58:33 2003
@@ -60,7 +60,7 @@
 PLIST_SUB+=	GTK=""
 .else
 CONFIGURE_ARGS+=	--without-gnome --disable-gnome-hints \
-			--disable-gtktest --disable-imlibtest
+			--with-gtk-prefix=/no/dir --with-imlib-prefix=/no/dir
 PLIST_SUB+=	GTK="@comment not installed: "
 .endif
 
--- fvwm2.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311102314.hAANEbRd065411>