summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorwiz <wiz>2004-01-22 00:21:26 +0000
committerwiz <wiz>2004-01-22 00:21:26 +0000
commit6a32675c3f2ea28a49f8cc8f8cd24e49b7f175ad (patch)
treed29ec832e78a1f857026bb9a756c7991f8811eaa /www
parent8468836717e4a341ac0cf56eeb1cab71b902e5c5 (diff)
downloadpkgsrc-6a32675c3f2ea28a49f8cc8f8cd24e49b7f175ad.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')
-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