summaryrefslogtreecommitdiff
path: root/wm/icewm
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-06-14 12:48:06 +0000
committerjmmv <jmmv>2003-06-14 12:48:06 +0000
commit730d25830b9eb798d52b9558ef71ab59701e8cfd (patch)
tree62bb6b8f750c2af154d1818a9a706d9398b00e7c /wm/icewm
parente2549454ee990aa34f41932b6fec04589b28d67f (diff)
downloadpkgsrc-730d25830b9eb798d52b9558ef71ab59701e8cfd.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