summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-15 17:36:11 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-15 17:36:11 +0000
commit6ed869b6087ad3794b981aaf1de51db55087d5ae (patch)
tree8a7ef2e4e25d025f69e87fa1cbdf9f94fb3ecc81 /www
parente55323578251675db6cf26218f5ee89264eb488e (diff)
downloadpkgsrc-6ed869b6087ad3794b981aaf1de51db55087d5ae.tar.gz
Fix Xinerama for !native case.
Diffstat (limited to 'www')
-rw-r--r--www/seamonkey/Makefile.common8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/seamonkey/Makefile.common b/www/seamonkey/Makefile.common
index d3b368a0db3..d2302a8bfd5 100644
--- a/www/seamonkey/Makefile.common
+++ b/www/seamonkey/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2007/04/01 16:22:53 tron Exp $
+# $NetBSD: Makefile.common,v 1.23 2007/06/15 17:36:11 joerg Exp $
MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= seamonkey-${MOZ_DIST_VER}.source
@@ -95,9 +95,11 @@ CONFIGURE_ARGS+= --enable-calendar
CONFIGURE_ARGS+= --enable-mathml
.endif
-.if exists(${X11BASE}/include/X11/extensions/Xinerama.h) && \
- exists(${X11BASE}/lib/libXinerama.so)
+.if ${X11_TYPE} != "native" || \
+ (exists(${X11BASE}/include/X11/extensions/Xinerama.h) && \
+ exists(${X11BASE}/lib/libXinerama.so))
CONFIGURE_ARGS+= --enable-xinerama
+.include "../../x11/libXinerama/buildlink3.mk"
.endif
# avoid creating a .mozilla directory in the users home