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

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

>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@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:



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