Subject: pkg/21745: Xft2 support in Mozilla is unavailable with XFree86 3.x
To: None <gnats-bugs@gnats.netbsd.org>
From: Sergey Svishchev <svs+pr@grep.ru>
List: netbsd-bugs
Date: 06/01/2003 17:50:00
>Number:         21745
>Category:       pkg
>Synopsis:       Xft2 support in Mozilla is unavailable with XFree86 3.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 01 13:52:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6L
>Organization:
>Environment:
>Description:
	
With MOZILLA_USE_XFT enabled, Mozilla fails to compile, because
code depends on headers that are not present in XFree86 3.x.
>How-To-Repeat:
	
>Fix:
	
--- www/mozilla/Makefile.common	2003/05/22 23:41:48	1.17
+++ www/mozilla/Makefile.common	2003/05/31 21:00:32
@@ -127,7 +127,7 @@
 CONFIGURE_ARGS+= --with-pthreads
 .endif
 
-.if ${MOZILLA_USE_XFT} == "YES"
+.if ${MOZILLA_USE_XFT} == "YES" && exists(${X11BASE}/include/X11/Xdefs.h)
 CONFIGURE_ARGS+=	--enable-xft
 # pkgconfig defaults to a "build" dependancy, which is what we want.
 .include "../../devel/pkgconfig/buildlink2.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: