summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-01-30 10:06:56 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-01-30 10:06:56 +0000
commite63223cf3548d56ca7fc38dc3381ebca3a51239a (patch)
tree01b80bce760f3c6f2f0b26162e45d4327f9374fd /Mk/bsd.port.mk
parentI think this new make is too &*^%$(@#! fussy. I'm getting the feeling that (diff)
Make fetch a bit more forgiving of subdirs.
Notes
Notes: svn path=/head/; revision=858
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 56df406b6343..df2b3ff56eec 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.106 1995/01/23 18:22:36 jkh Exp $
+# $Id: bsd.port.mk,v 1.107 1995/01/24 02:41:52 jkh Exp $
#
# Please view me with 4 column tabs!
@@ -484,7 +484,7 @@ fetch: pre-fetch
@if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi
@(cd ${DISTDIR}; \
for file in ${DISTFILES}; do \
- if [ ! -f $$file ]; then \
+ if [ ! -f $$file -a ! -f `basename $$file` ]; then \
echo ">> $$file doesn't seem to exist on this system."; \
echo ">> Attempting to fetch it from a master site."; \
for site in ${MASTER_SITES}; do \
@@ -492,7 +492,7 @@ fetch: pre-fetch
break; \
fi \
done; \
- if [ ! -f $$file ]; then \
+ if [ ! -f $$file -a ! -f `basename $$file` ]; then \
echo ">> Couldn't fetch it - please try to retreive this";\
echo ">> port manually into ${DISTDIR} and try again."; \
exit 1; \