diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-03-06 17:38:22 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-03-06 17:38:22 +0000 |
commit | 2eaa5c73fc84bbf15f0298732f74887cf73e6f7d (patch) | |
tree | 9d7bc3edcce17e0724bbda884692d1714396fa31 /Mk | |
parent | a4bb1f6b78c331b59441317ef837fddf94ccaf34 (diff) | |
download | freebsd-ports-2eaa5c73fc84bbf15f0298732f74887cf73e6f7d.zip |
Fix the fetch-specials target when dependencies are defined without ${PORTSDIR}
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
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 |