summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-15 17:41:54 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-15 17:41:54 +0000
commitbe773dfd04261258b377bcaa769f0beb4c806c02 (patch)
treed021bbc27aab3082b95ccbcc4fc400deb86de1cd /wm
parentf7cb20f71185504c287fc589e3a5fa1bd8d9ec9a (diff)
downloadpkgsrc-be773dfd04261258b377bcaa769f0beb4c806c02.tar.gz
Fix Xinerama for !native case.
Diffstat (limited to 'wm')
-rw-r--r--wm/metacity/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/wm/metacity/Makefile b/wm/metacity/Makefile
index 1af2461d589..e01f4e88fdb 100644
--- a/wm/metacity/Makefile
+++ b/wm/metacity/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2007/04/10 23:39:00 wiz Exp $
+# $NetBSD: Makefile,v 1.69 2007/06/15 17:41:54 joerg Exp $
#
DISTNAME= metacity-2.18.2
@@ -22,7 +22,9 @@ GCONF2_SCHEMAS= metacity.schemas
.include "../../mk/bsd.prefs.mk"
-.if !exists(${X11BASE}/lib/libXinerama.so)
+.if ${X11_TYPE} != "native"
+.include "../../x11/libXinerama/buildlink3.mk"
+.else !exists(${X11BASE}/lib/libXinerama.so)
CONFIGURE_ARGS+= --disable-xinerama
.endif