pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xcompmgr Use PKG_SKIP_REASON to print a message wh...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c79b9d7acda8
branches:  trunk
changeset: 481587:c79b9d7acda8
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri Oct 08 03:58:18 2004 +0000

description:
Use PKG_SKIP_REASON to print a message when X11_TYPE != xorg.

diffstat:

 x11/xcompmgr/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 8cbbcebe99b9 -r c79b9d7acda8 x11/xcompmgr/Makefile
--- a/x11/xcompmgr/Makefile     Fri Oct 08 03:35:25 2004 +0000
+++ b/x11/xcompmgr/Makefile     Fri Oct 08 03:58:18 2004 +0000
@@ -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 @@
 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};                     \



Home | Main Index | Thread Index | Old Index