summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg>2007-06-15 17:38:54 +0000
committerjoerg <joerg>2007-06-15 17:38:54 +0000
commit57f471b9289e049902bef812ac67b3b2cabe8f23 (patch)
treef62a5ecafd5538915741f467fb64eb6aca7ebc7a /www
parent882eb6c1c52860016fe59781cad612298a3476a8 (diff)
downloadpkgsrc-57f471b9289e049902bef812ac67b3b2cabe8f23.tar.gz
Fix Xft for !native case.
Diffstat (limited to 'www')
-rw-r--r--www/seamonkey/Makefile.common5
1 files 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"