From 42e71648ada8ee05eb0e8f6da5e8813448ba5da0 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 23 Jul 2004 23:45:10 +0000 Subject: - Add a check to prevent installation to wrong X distribution, as seen in other XFree86/X.Org ports. Approved by: anholt (x11 hat) --- devel/imake-4/Makefile | 4 ++++ devel/imake-6/Makefile | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'devel') diff --git a/devel/imake-4/Makefile b/devel/imake-4/Makefile index 81247bd675f2..35d29d55eff0 100644 --- a/devel/imake-4/Makefile +++ b/devel/imake-4/Makefile @@ -28,6 +28,10 @@ USE_REINPLACE= yes .include +.if ${X_WINDOW_SYSTEM:L} != xfree86-4 +IGNORE= is part of XFree86-4 +.endif + .if ${OSVERSION} < 500000 LATEST_LINK= imake4 .else diff --git a/devel/imake-6/Makefile b/devel/imake-6/Makefile index 531b63e46319..0a9bc8c6150f 100644 --- a/devel/imake-6/Makefile +++ b/devel/imake-6/Makefile @@ -60,4 +60,8 @@ pre-configure: post-install: @${MKHTMLINDEX} ${PREFIX}/lib/X11/doc/html +.if ${X_WINDOW_SYSTEM:L} != xorg +IGNORE= is part of X.Org. For switching to X.Org, read UPDATING entry 20040723 +.endif + .include -- cgit v1.2.3