diff options
author | jmz <jmz@FreeBSD.org> | 1996-02-15 00:53:15 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1996-02-15 00:53:15 +0000 |
commit | ab4e8b88b9aa8f41a660503280921aa7130a9072 (patch) | |
tree | a743d28ec37f771c1f290aa097ca1144bb216959 /x11/XFree86 | |
parent | 735c8d57ccd0cf81f781028f35c9191d0bc9c2e4 (diff) | |
download | FreeBSD-ports-ab4e8b88b9aa8f41a660503280921aa7130a9072.zip FreeBSD-ports-ab4e8b88b9aa8f41a660503280921aa7130a9072.tar.gz |
Assume X11_VIA_FTP=yes if one distribution file (xc-1.tar.gz) exists
closes PR ports/690
Diffstat (limited to 'x11/XFree86')
-rw-r--r-- | x11/XFree86/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/x11/XFree86/Makefile b/x11/XFree86/Makefile index c48968a..44fc665 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 |