summaryrefslogtreecommitdiff
path: root/www/mozilla
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-12-25 09:21:42 +0000
committergrant <grant@pkgsrc.org>2002-12-25 09:21:42 +0000
commit1d6ceb0dfdc4f911e39b6e0316ad11ba3fa88c04 (patch)
tree33632499ef5718c5b6692e8973a3d79a77d54d93 /www/mozilla
parentf971bdb801a139bab96645bb506125ec527386d2 (diff)
downloadpkgsrc-1d6ceb0dfdc4f911e39b6e0316ad11ba3fa88c04.tar.gz
Add optional Xft support to Mozilla and Phoenix, to enable various
font features including anti-aliasing. The new variable MOZILLA_USE_XFT defaults to NO. Bump PKGREVISIONs. From Eric Gillespie in PR pkg/19433.
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile4
-rw-r--r--www/mozilla/Makefile.common7
2 files changed, 8 insertions, 3 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index cc319b2026c..da74ce64ba6 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.108 2002/12/24 06:10:29 wiz Exp $
+# $NetBSD: Makefile,v 1.109 2002/12/25 09:21:42 grant Exp $
MOZILLA= mozilla
MOZILLA_BIN= mozilla-bin
MOZ_VER= 1.2.1
EXTRACT_SUFX= .tar.bz2
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= Open-source version of the Netscape browser
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common
index 8419d3e37ba..17ddcfa7096 100644
--- a/www/mozilla/Makefile.common
+++ b/www/mozilla/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2002/12/04 15:20:27 taya Exp $
+# $NetBSD: Makefile.common,v 1.7 2002/12/25 09:21:42 grant Exp $
MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= mozilla-source-${MOZ_DIST_VER}
@@ -114,5 +114,10 @@ CONFIGURE_ARGS+= --without-pthreads
CONFIGURE_ARGS+= --with-pthreads
.endif
+.if ${MOZILLA_USE_XFT} == "YES"
+CONFIGURE_ARGS+= --enable-xft
+.include "../../fonts/Xft2/buildlink2.mk"
+.endif
+
.include "../../mk/autoconf.mk"
.include "../../mk/bsd.pkg.mk"