summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-15 17:38:54 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-15 17:38:54 +0000
commitf7cb20f71185504c287fc589e3a5fa1bd8d9ec9a (patch)
treef62a5ecafd5538915741f467fb64eb6aca7ebc7a /www
parent6ed869b6087ad3794b981aaf1de51db55087d5ae (diff)
downloadpkgsrc-f7cb20f71185504c287fc589e3a5fa1bd8d9ec9a.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"