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