mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
Check if the port directory is aboslute otherwise prepend ${PORTSDIR} in FETCH_LIST
It allows dependencies to be defined without ${PORTSDIR}
This commit is contained in:
parent
52896379dd
commit
62c0718df2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399015
@ -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%%:*}; \
|
||||
|
Loading…
Reference in New Issue
Block a user