summaryrefslogtreecommitdiff
path: root/wm/icewm
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-06-14 12:48:06 +0000
committerjmmv <jmmv@pkgsrc.org>2003-06-14 12:48:06 +0000
commitd61225980be5423f902aaae09455cb5f638d73ff (patch)
tree62bb6b8f750c2af154d1818a9a706d9398b00e7c /wm/icewm
parent340197b5b14c056cd67d41a800fe477bb91b514a (diff)
downloadpkgsrc-d61225980be5423f902aaae09455cb5f638d73ff.tar.gz
Fix build if Xinerama is not available. Patch by Sergey Svishchev
<svs at ropnet.ru> in private mail.
Diffstat (limited to 'wm/icewm')
-rw-r--r--wm/icewm/Makefile.common5
1 files changed, 4 insertions, 1 deletions
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