summaryrefslogtreecommitdiff
path: root/wm/jwm/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-25 22:23:52 +0000
committerjoerg <joerg>2011-11-25 22:23:52 +0000
commited370dbfade665fba54cfb14ed5a7b392fbed513 (patch)
tree9532bdc0c100db45056eb61e724faef9efc5f155 /wm/jwm/Makefile
parentd5d85fe94a001f6c168334dc535f2d6922aca857 (diff)
downloadpkgsrc-ed370dbfade665fba54cfb14ed5a7b392fbed513.tar.gz
Needs pkg-config. Always enable Xinerama for modular Xorg.
Diffstat (limited to 'wm/jwm/Makefile')
-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