summaryrefslogtreecommitdiff
path: root/wm/icewm
diff options
context:
space:
mode:
authorjoerg <joerg>2007-06-15 17:43:40 +0000
committerjoerg <joerg>2007-06-15 17:43:40 +0000
commit5c044ca48809c7313e1c0e1198d145568a460060 (patch)
tree1bf1569a6ac7220d6ed8d5bf29fa3678570afd56 /wm/icewm
parent7adf71804df6f693d273b747d490a9085676739e (diff)
downloadpkgsrc-5c044ca48809c7313e1c0e1198d145568a460060.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