From 730d25830b9eb798d52b9558ef71ab59701e8cfd Mon Sep 17 00:00:00 2001 From: jmmv Date: Sat, 14 Jun 2003 12:48:06 +0000 Subject: Fix build if Xinerama is not available. Patch by Sergey Svishchev in private mail. --- wm/icewm/Makefile.common | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wm/icewm') diff --git a/wm/icewm/Makefile.common b/wm/icewm/Makefile.common index f113a2105b2..d4c4fd8e7db 100644 --- a/wm/icewm/Makefile.common +++ b/wm/icewm/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.23 2003/06/04 08:56:46 tron Exp $ +# $NetBSD: Makefile.common,v 1.24 2003/06/14 12:48:06 jmmv Exp $ DISTNAME= icewm-1.2.7 CATEGORIES= x11 wm @@ -23,6 +23,9 @@ PATCHDIR= ${.CURDIR}/../../wm/icewm/patches CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --with-cfgdir=${PKG_SYSCONFDIR} +.if !exists(${X11BASE}/include/X11/extensions/Xinerama.h) +CONFIGURE_ARGS+= --disable-xinerama +.endif PKG_SYSCONFSUBDIR= icewm -- cgit v1.2.3