summaryrefslogtreecommitdiff
path: root/www/firefox
diff options
context:
space:
mode:
authorjoerg <joerg>2007-06-17 13:47:00 +0000
committerjoerg <joerg>2007-06-17 13:47:00 +0000
commit304bbcbe74dcf837a04641aa9154b8d2e5d37161 (patch)
tree3134004b7d1d0c046121d0fa9df87b9726bfcee6 /www/firefox
parent2ab59b9d1d6d96cef71275a173bd8a9a9e3d8e0e (diff)
downloadpkgsrc-304bbcbe74dcf837a04641aa9154b8d2e5d37161.tar.gz
Don't or X11_TYPE and MOZILLA_USE_XFT, but the exists() condition.
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/firefox/Makefile.common b/www/firefox/Makefile.common
index 97fbe0c9eda..d41cba6b265 100644
--- a/www/firefox/Makefile.common
+++ b/www/firefox/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.20 2007/06/15 16:35:41 joerg Exp $
+# $NetBSD: Makefile.common,v 1.21 2007/06/17 13:47:00 joerg Exp $
MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= mozilla-${MOZ_DIST_VER}-source
@@ -211,7 +211,7 @@ CONFIGURE_ARGS+= --without-pthreads
CONFIGURE_ARGS+= --with-pthreads
.endif
-.if (${MOZILLA_USE_XFT} == "YES" && exists(${X11BASE}/include/X11/Xdefs.h)) || ${X11_TYPE} != "native"
+.if ${MOZILLA_USE_XFT} == "YES" && (exists(${X11BASE}/include/X11/Xdefs.h) || ${X11_TYPE} != "native")
CONFIGURE_ARGS+= --enable-xft
# pkgconfig defaults to a "build" dependency, which is what we want.
.include "../../x11/libXft/buildlink3.mk"