From 82a0cef7553128fb6f8c8afc267ee21af5a8c8a0 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 30 Apr 2001 15:06:26 +0000 Subject: Refuse to build this package on XFree86 4.x systems. --- x11/XF86Setup/Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'x11') diff --git a/x11/XF86Setup/Makefile b/x11/XF86Setup/Makefile index 18a778af783..16ab7309345 100644 --- a/x11/XF86Setup/Makefile +++ b/x11/XF86Setup/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2001/03/27 03:20:25 hubertf Exp $ +# $NetBSD: Makefile,v 1.19 2001/04/30 15:06:26 tron Exp $ DISTNAME= XF86Setup-3.3.6 CATEGORIES= x11 @@ -22,7 +22,19 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL WRKSRC= ${WRKDIR}/hw/xfree86/XF86Setup USE_IMAKE= yes +.if !defined(X11_RELEASE) && !defined(CHECK_X11) +X11_RELEASE!= ${MAKE} CHECK_X11=YES print-x11-release +MAKEFLAGS+= X11_RELEASE="${X11_RELEASE}" +.if (${X11_RELEASE} == "6.4") +IGNORE= "This package doesn't work with your X11 distribution." +.endif +.endif + pre-configure: @${TOUCH} ${WRKSRC}/res_cpp_symbol .include "../../mk/bsd.pkg.mk" + +print-x11-release: + @${GREP} '^#define SharedXextRev' ${X11BASE}/lib/X11/config/X11.tmpl \ + | ${AWK} '{print($$3)}' -- cgit v1.2.3