From 8c3412edc53276ed13eba2d15163a7e1c161f17d Mon Sep 17 00:00:00 2001 From: epg Date: Tue, 3 Jun 2003 19:22:24 +0000 Subject: Apply patch from PR pkg/21745 so Mozilla will build on XFree86 < 4. --- www/mozilla/Makefile.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/mozilla') diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common index c016b24b7aa..e2d8f244181 100644 --- a/www/mozilla/Makefile.common +++ b/www/mozilla/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.18 2003/05/29 23:49:14 grant Exp $ +# $NetBSD: Makefile.common,v 1.19 2003/06/03 19:22:24 epg Exp $ MOZ_DIST_VER?= ${MOZ_VER} DISTNAME?= mozilla-source-${MOZ_DIST_VER} @@ -128,7 +128,7 @@ CONFIGURE_ARGS+= --without-pthreads 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" -- cgit v1.2.3