From 9040fc8d5168cc1a444be0ac2601cb63a2fcb7a5 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Fri, 8 Oct 2004 03:58:18 +0000 Subject: Use PKG_SKIP_REASON to print a message when X11_TYPE != xorg. --- x11/xcompmgr/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'x11/xcompmgr') 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}; \ -- cgit v1.2.3