aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-10-10 19:53:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-10-10 19:53:36 +0000
commit62c0718df2aafdd68ec36f84c828eb24bc1b3a6a (patch)
tree2da094d88f3328ba2f5ae50667df4a8cc5d2b81a /Mk
parent52896379dd454008479037ed70a6403509256959 (diff)
downloadports-62c0718df2aafdd68ec36f84c828eb24bc1b3a6a.tar.gz
ports-62c0718df2aafdd68ec36f84c828eb24bc1b3a6a.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index cf390402f56f..83a30780120c 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -4439,6 +4439,10 @@ fetch-recursive-list:
# -mi
FETCH_LIST?= for i in $$deps; do \
prog=$${i%%:*}; dir=$${i\#*:}; \
+ case $$dir in \
+ /*) ;; \
+ *) dir=${PORTSDIR}/$$dir ;; \
+ esac; \
case $$dir in \
*:*) if [ $$prog != $${prog\#/} -o ! -e $$prog ]; then \
dir=$${dir%%:*}; \