summaryrefslogtreecommitdiff
path: root/wm/icewm
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
commitad3a06ba9a10962d0caac8bf25f5d6fb38770efe (patch)
tree1bf1569a6ac7220d6ed8d5bf29fa3678570afd56 /wm/icewm
parent74947f60c5dd614add9fc2cbe1b67dbcf9f6b735 (diff)
downloadpkgsrc-ad3a06ba9a10962d0caac8bf25f5d6fb38770efe.tar.gz
Fix Xinerama for !native case.
Diffstat (limited to 'wm/icewm')
-rw-r--r--wm/icewm/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/wm/icewm/Makefile.common b/wm/icewm/Makefile.common
index a4c3bc778ed..36dcd4a3c33 100644
--- a/wm/icewm/Makefile.common
+++ b/wm/icewm/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.57 2006/12/15 20:33:02 joerg Exp $
+# $NetBSD: Makefile.common,v 1.58 2007/06/15 17:43:40 joerg Exp $
DISTNAME= icewm-1.2.27
CATEGORIES= x11 wm
@@ -24,7 +24,9 @@ USE_LANGUAGES= c c++
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-cfgdir=${PKG_SYSCONFDIR:Q}
-.if !exists(${X11BASE}/include/X11/extensions/Xinerama.h)
+.if ${X11_TYPE} != "native"
+.include "../../x11/libXinerama/buildlink3.mk"
+.elif !exists(${X11BASE}/include/X11/extensions/Xinerama.h)
CONFIGURE_ARGS+= --disable-xinerama
.endif
MAKE_FLAGS+= LOCDIR=${PREFIX}/${PKGLOCALEDIR}/locale