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-servers | |
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-servers')
-rw-r--r-- | x11-servers/XFree86-4-Server-snap/Makefile | 16 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/Makefile | 16 |
2 files changed, 30 insertions, 2 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile index c48968ad892d..44fc665164d5 100644 --- a/x11-servers/XFree86-4-Server-snap/Makefile +++ b/x11-servers/XFree86-4-Server-snap/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 diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile index c48968ad892d..44fc665164d5 100644 --- a/x11-servers/XFree86-4-Server/Makefile +++ b/x11-servers/XFree86-4-Server/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 |