summaryrefslogtreecommitdiff
path: root/wm/icewm
diff options
context:
space:
mode:
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