Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2003 21:41:03 +0400 (MSD)
From:      Seva Gluschenko <gvs@rinet.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/51595: www/mozilla port's Makefile fails to disable Xft
Message-ID:  <200304291741.h3THf347040616@road.demos.su>
Resent-Message-ID: <200304291740.h3THeGiv008985@freefall.freebsd.org>

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

>Number:         51595
>Category:       ports
>Synopsis:       www/mozilla port's Makefile fails to disable Xft
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 29 10:40:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Seva Gluschenko
>Release:        FreeBSD 4.8-RC i386
>Organization:
JSC Demos-Internet
>Environment:
System: FreeBSD road.demos.su 4.8-RC FreeBSD 4.8-RC #2: Tue Mar 4 15:43:13 MSK 2003 gvs@road.demos.su:/usr/local/obj/usr/local/src/sys/ROAD i386


	
>Description:
	The www/mozilla port offers user several make options including WITHOUT_XFT.
	Specifying it doesn't really disables Xft linking because configure script
	detects it and installs anyway. The only way to handle it is to extend
	configure args with explicit --disable-xft switch.
>How-To-Repeat:
	Try to build the port by changing directory to www/mozilla port and then typing
	make WITHOUT_XFT=yes. Warning: it takes really long time for build to complete.
	After it is finished, however, issueing ldd command against the compiled binary
	will clearly demonstrate that Xft was used in build.

	Breaking build after configure processing finished and looking into
	work/mozilla/config.log will prove it, too
>Fix:

	Apply patch below:


--- Makefile.orig	Thu Apr 17 20:31:43 2003
+++ Makefile	Tue Apr 29 21:34:56 2003
@@ -144,6 +144,8 @@
 
 .if !defined(WITHOUT_XFT)
 CONFIGURE_ARGS+=	--enable-xft
+.else
+CONFIGURE_ARGS+=	--disable-xft
 .endif
 
 .include <bsd.port.pre.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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