summaryrefslogtreecommitdiff
path: root/wm/metacity/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2007-06-15 17:41:54 +0000
committerjoerg <joerg>2007-06-15 17:41:54 +0000
commit0e6f0c09ecbf3badb83e3ca08cb5d6fae9833e0f (patch)
treed021bbc27aab3082b95ccbcc4fc400deb86de1cd /wm/metacity/Makefile
parent57f471b9289e049902bef812ac67b3b2cabe8f23 (diff)
downloadpkgsrc-0e6f0c09ecbf3badb83e3ca08cb5d6fae9833e0f.tar.gz
Fix Xinerama for !native case.
Diffstat (limited to 'wm/metacity/Makefile')
-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