diff options
author | tron <tron> | 2001-04-30 15:06:26 +0000 |
---|---|---|
committer | tron <tron> | 2001-04-30 15:06:26 +0000 |
commit | 82a0cef7553128fb6f8c8afc267ee21af5a8c8a0 (patch) | |
tree | 2161f3d7091d718ace694717a08c0a2e1043904f /x11 | |
parent | 8a9198110ae8209a70a97077a9c59837662acb2d (diff) | |
download | pkgsrc-82a0cef7553128fb6f8c8afc267ee21af5a8c8a0.tar.gz |
Refuse to build this package on XFree86 4.x systems.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/XF86Setup/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
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)}' |