summaryrefslogtreecommitdiff
path: root/www/mozilla
diff options
context:
space:
mode:
authorepg <epg>2003-06-03 19:22:24 +0000
committerepg <epg>2003-06-03 19:22:24 +0000
commit8c3412edc53276ed13eba2d15163a7e1c161f17d (patch)
tree8f4007e55062d492bfc981c7d652621274debef2 /www/mozilla
parent8443585e5cd7e757fc421e94002d0ff9a1c093f7 (diff)
downloadpkgsrc-8c3412edc53276ed13eba2d15163a7e1c161f17d.tar.gz
Apply patch from PR pkg/21745 so Mozilla will build on XFree86 < 4.
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile.common4
1 files changed, 2 insertions, 2 deletions
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"