ports/51595: www/mozilla port's Makefile fails to disable Xft
Seva Gluschenko
gvs at rinet.ru
Tue Apr 29 17:40:18 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list