summaryrefslogtreecommitdiff
path: root/wm/jwm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-25 22:23:52 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-25 22:23:52 +0000
commitf4c55ffb689dad0da325ce0aedc76c3a8bd40f89 (patch)
tree9532bdc0c100db45056eb61e724faef9efc5f155 /wm/jwm
parent56e8f7fdb542ad7fc040e223e68b10faa2c84359 (diff)
downloadpkgsrc-f4c55ffb689dad0da325ce0aedc76c3a8bd40f89.tar.gz
Needs pkg-config. Always enable Xinerama for modular Xorg.
Diffstat (limited to 'wm/jwm')
-rw-r--r--wm/jwm/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/wm/jwm/Makefile b/wm/jwm/Makefile
index b380a8a6b72..0f42cd98071 100644
--- a/wm/jwm/Makefile
+++ b/wm/jwm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2011/11/01 06:02:42 sbd Exp $
+# $NetBSD: Makefile,v 1.18 2011/11/25 22:23:52 joerg Exp $
#
DISTNAME= jwm-2.0.1
@@ -14,11 +14,13 @@ COMMENT= Lightweight window manager with virtual desktops
PKG_DESTDIR_SUPPORT= user-destdir
+USE_TOOLS+= pkg-config
+
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
-.if exists(${X11BASE}/include/X11/extensions/Xinerama.h)
+.if ${X11_TYPE} != "native" || exists(${X11BASE}/include/X11/extensions/Xinerama.h)
CONFIGURE_ARGS+= --enable-xinerama
# XXX maybe set some build variable about that
.endif