summaryrefslogtreecommitdiff
path: root/wm/golem
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-15 17:43:40 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-15 17:43:40 +0000
commit8c3c80bc8c9a6bfa8c0a3063fb380a904f10b006 (patch)
tree1bf1569a6ac7220d6ed8d5bf29fa3678570afd56 /wm/golem
parent8b84cc5a26b942cce36673b0b4c5a536a1e79f69 (diff)
downloadpkgsrc-8c3c80bc8c9a6bfa8c0a3063fb380a904f10b006.tar.gz
Fix Xinerama for !native case.
Diffstat (limited to 'wm/golem')
-rw-r--r--wm/golem/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/wm/golem/Makefile b/wm/golem/Makefile
index fe96ba1350c..f740e686db9 100644
--- a/wm/golem/Makefile
+++ b/wm/golem/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/12/27 13:37:41 joerg Exp $
+# $NetBSD: Makefile,v 1.25 2007/06/15 17:44:45 joerg Exp $
#
DISTNAME= golem-0.0.5
@@ -15,8 +15,11 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-i18n
-.if exists(${X11BASE}/include/X11/extensions/Xinerama.h)
+.include "../../mk/bsd.prefs.mk"
+
+.if ${X11_TYPE} != "native" || exists(${X11BASE}/include/X11/extensions/Xinerama.h)
CONFIGURE_ARGS+= --enable-xinerama
+.include "../../x11/libXinerama/buildlink3.mk"
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.golem