From 1d6ceb0dfdc4f911e39b6e0316ad11ba3fa88c04 Mon Sep 17 00:00:00 2001 From: grant Date: Wed, 25 Dec 2002 09:21:42 +0000 Subject: 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. --- www/mozilla/Makefile | 4 ++-- www/mozilla/Makefile.common | 7 ++++++- www/phoenix/Makefile | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'www') 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" diff --git a/www/phoenix/Makefile b/www/phoenix/Makefile index d98ba231c08..e4c08863bb4 100644 --- a/www/phoenix/Makefile +++ b/www/phoenix/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2002/12/24 06:10:29 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2002/12/25 09:21:43 grant Exp $ MOZILLA= phoenix MOZILLA_BIN= phoenix-bin -PKGREVISION= 1 +PKGREVISION= 2 MOZ_VER= 0.5 EXTRACT_SUFX= .tar.bz2 DISTNAME= mozilla-phoenix-${MOZ_VER} -- cgit v1.2.3