aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-03-07 01:38:22 +0800
committerbapt <bapt@FreeBSD.org>2016-03-07 01:38:22 +0800
commitc626ae24167ea15669ae2f51da484ddbf95d4ca1 (patch)
tree9d7bc3edcce17e0724bbda884692d1714396fa31 /Mk/bsd.port.mk
parente097bb212aa2c0285c66042d014e3119cf118f79 (diff)
downloadfreebsd-ports-gnome-c626ae24167ea15669ae2f51da484ddbf95d4ca1.tar.gz
freebsd-ports-gnome-c626ae24167ea15669ae2f51da484ddbf95d4ca1.tar.zst
freebsd-ports-gnome-c626ae24167ea15669ae2f51da484ddbf95d4ca1.zip
Fix the fetch-specials target when dependencies are defined without ${PORTSDIR}
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