From 237cd7524f10b715f44e99243765f951cba0e58f Mon Sep 17 00:00:00 2001 From: Jean-Marc Zucconi Date: Thu, 15 Feb 1996 00:53:15 +0000 Subject: Assume X11_VIA_FTP=yes if one distribution file (xc-1.tar.gz) exists closes PR ports/690 --- x11/XFree86/Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'x11/XFree86') diff --git a/x11/XFree86/Makefile b/x11/XFree86/Makefile index c48968ad892d..44fc665164d5 100644 --- a/x11/XFree86/Makefile +++ b/x11/XFree86/Makefile @@ -3,7 +3,7 @@ # Date created: 5 January 1995 # Whom: jmz # -# $Id: Makefile,v 1.15 1995/10/06 22:11:25 asami Exp $ +# $Id: Makefile,v 1.16 1996/01/16 14:08:19 jmz Exp $ # ####################################################################### @@ -35,6 +35,20 @@ IS_INTERACTIVE= yes MAINTAINER= jmz@FreeBSD.ORG +.if defined(DISTDIR) +.if exists (${DISTDIR}/xc-1.tar.gz) +X11_VIA_FTP = yes +.endif +.elif defined(PORTSDIR) +.if exists (${PORTSDIR}/distfiles/xc/xc-1.tar.gz) +X11_VIA_FTP = yes +.endif +.else +.if exists (/usr/ports/distfiles/xc/xc-1.tar.gz) +X11_VIA_FTP = yes +.endif +.endif + .if defined(X11_ON_CDROM) || defined(X11_VIA_FTP) DISTFILES= # to prevent checksum -- cgit v1.2.3