mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
As per suggestion by Michael Reifenberger, make ncftp use the -N flag.
Reviewed by: jkh Submitted by: mr
This commit is contained in:
parent
2a34794e13
commit
8315b1014c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2596
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
#
|
||||
# $Id: bsd.port.mk,v 1.26 1994/09/02 01:32:13 jkh Exp $
|
||||
# $Id: bsd.port.mk,v 1.27 1994/09/02 01:53:33 jkh Exp $
|
||||
|
||||
#
|
||||
# Supported Variables and their behaviors:
|
||||
|
@ -62,6 +62,7 @@
|
|||
|
||||
GMAKE?= gmake
|
||||
NCFTP?= /usr/local/bin/ncftp
|
||||
NCFTPFLAGS?= -N
|
||||
|
||||
# These need to be absolute since we don't know how deep in the ports
|
||||
# tree we are and thus can't go relative. They can, of course, be overridden
|
||||
|
@ -289,7 +290,7 @@ ${EXTRACT_COOKIE}:
|
|||
mkdir -p `dirname ${DISTFILE}`; \
|
||||
fi; \
|
||||
if cd `dirname ${DISTFILE}`; then \
|
||||
if ${NCFTP} ${HOME_LOCATION}; then \
|
||||
if ${NCFTP} ${NCFTPFLAGS} ${HOME_LOCATION}; then \
|
||||
${EXTRACT_CMD} ${EXTRACT_ARGS} ${DISTFILE}; \
|
||||
else \
|
||||
echo ">> Couldn't fetch it - please retreive ${DISTFILE} manually and try again."; \
|
||||
|
|
Loading…
Reference in a new issue