Use PORTSDIR, falling back to /usr/ports
This commit is contained in:
parent
2868be0b05
commit
10695f3acb
@ -36,7 +36,7 @@ PORTSMODULESENV=SYSDIR=${SYSDIR}
|
||||
${target}: ports-${target}
|
||||
ports-${target}:
|
||||
.for __i in ${PORTS_MODULES}
|
||||
cd /usr/ports/${__i}; ${PORTSMODULESENV} ${MAKE} -B ${target}
|
||||
cd $${PORTSDIR:-/usr/ports/}${__i}; ${PORTSMODULESENV} ${MAKE} -B ${target}
|
||||
.endfor
|
||||
.endfor
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user