summaryrefslogtreecommitdiff
path: root/www/mozilla
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-01-22 00:21:26 +0000
committerwiz <wiz@pkgsrc.org>2004-01-22 00:21:26 +0000
commit195fa4f6f324bb387147db2c8cba5b1b8562aefa (patch)
treed29ec832e78a1f857026bb9a756c7991f8811eaa /www/mozilla
parent0a8492f831247ab3803cc6d5ade623746a877d56 (diff)
downloadpkgsrc-195fa4f6f324bb387147db2c8cba5b1b8562aefa.tar.gz
Check for existance of shared libXinerama before
enabling Xinerama support. Fixes mozilla on e.g. macppc with only libXinerama.a.
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common
index 7ac19eedbed..2b58a398e43 100644
--- a/www/mozilla/Makefile.common
+++ b/www/mozilla/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.27 2004/01/20 12:27:59 agc Exp $
+# $NetBSD: Makefile.common,v 1.28 2004/01/22 00:21:26 wiz Exp $
MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= mozilla-source-${MOZ_DIST_VER}
@@ -76,7 +76,7 @@ CONFIGURE_ARGS+= --enable-calendar
CONFIGURE_ARGS+= --enable-mathml
.endif
-.if exists(${X11BASE}/include/X11/extensions/Xinerama.h)
+.if exists(${X11BASE}/include/X11/extensions/Xinerama.h) && exists(${X11BASE}/lib/libXinerama.so)
CONFIGURE_ARGS+= --enable-xinerama
.endif