From ecd54de56c9848a26d15145b652ad6fdd8b987c3 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 15 Jun 2007 17:38:54 +0000 Subject: Fix Xft for !native case. --- www/seamonkey/Makefile.common | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/seamonkey/Makefile.common b/www/seamonkey/Makefile.common index d2302a8bfd5..4d3fb367aad 100644 --- a/www/seamonkey/Makefile.common +++ b/www/seamonkey/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.23 2007/06/15 17:36:11 joerg Exp $ +# $NetBSD: Makefile.common,v 1.24 2007/06/15 17:38:54 joerg Exp $ MOZ_DIST_VER?= ${MOZ_VER} DISTNAME?= seamonkey-${MOZ_DIST_VER}.source @@ -220,7 +220,8 @@ CONFIGURE_ARGS+= --without-pthreads CONFIGURE_ARGS+= --with-pthreads .endif -.if ${MOZILLA_USE_XFT} == "YES" && exists(${X11BASE}/include/X11/Xdefs.h) +.if ${X11_TYPE} != "native" || + (${MOZILLA_USE_XFT} == "YES" && exists(${X11BASE}/include/X11/Xdefs.h)) CONFIGURE_ARGS+= --enable-xft # pkgconfig defaults to a "build" dependency, which is what we want. .include "../../x11/libXft/buildlink3.mk" -- cgit v1.2.3