summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-03-06 17:38:22 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-03-06 17:38:22 +0000
commit2eaa5c73fc84bbf15f0298732f74887cf73e6f7d (patch)
tree9d7bc3edcce17e0724bbda884692d1714396fa31 /Mk/bsd.port.mk
parentlang/hla: store all distfiles at my place (diff)
Fix the fetch-specials target when dependencies are defined without ${PORTSDIR}
Notes
Notes: svn path=/head/; revision=410470
Diffstat (limited to 'Mk/bsd.port.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 abb55fe32ef3..fdf0c084893c 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -4390,6 +4390,10 @@ deinstall-depends:
fetch-specials:
@${ECHO_MSG} "===> Fetching all distfiles required by ${PKGNAME} for building"
@for dir in ${_DEPEND_SPECIALS}; do \
+ case $$dir in \
+ /*) ;; \
+ *) dir=${PORTSDIR}/$$dir ;; \
+ esac; \
(cd $$dir; ${MAKE} fetch); \
done
.endif