summaryrefslogtreecommitdiff
path: root/x11/xcompmgr
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-10-08 03:58:18 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-10-08 03:58:18 +0000
commit9040fc8d5168cc1a444be0ac2601cb63a2fcb7a5 (patch)
tree9f55dac0c0856990f1e5ff604f0df15c582f8f5d /x11/xcompmgr
parent12acd45df928dfa58af50a3c27e2ff34cb5a5019 (diff)
downloadpkgsrc-9040fc8d5168cc1a444be0ac2601cb63a2fcb7a5.tar.gz
Use PKG_SKIP_REASON to print a message when X11_TYPE != xorg.
Diffstat (limited to 'x11/xcompmgr')
-rw-r--r--x11/xcompmgr/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/xcompmgr/Makefile b/x11/xcompmgr/Makefile
index 21c34d854e3..74b60945ad4 100644
--- a/x11/xcompmgr/Makefile
+++ b/x11/xcompmgr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/10/03 00:50:52 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2004/10/08 03:58:18 xtraeme Exp $
#
DISTNAME= xcompmgr-cvs-20040914
@@ -17,6 +17,13 @@ GNU_CONFIGURE= yes
USE_BUILDLINK3= yes
USE_X11= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(X11_TYPE) && !empty(X11_TYPE:MXFree86) || \
+ defined(X11_TYPE) && !empty(X11_TYPE:Mnative) || !defined(X11_TYPE)
+PKG_SKIP_REASON+= "This package is exclusively for X.org."
+.endif
+
pre-configure:
cd ${WRKSRC}; \
${ACLOCAL}; \