MFC: 1.88: Use ${S} to pass ${SYSDIR} to ports.
This commit is contained in:
parent
40f4fd56fd
commit
b079fad903
@ -29,11 +29,7 @@ modules-${target}:
|
||||
|
||||
# Handle out of tree ports
|
||||
.if !defined(NO_MODULES) && defined(PORTS_MODULES)
|
||||
.for _dir in ${.CURDIR}/../../..
|
||||
.if !defined(SYSDIR) && exists(${_dir}/kern/)
|
||||
SYSDIR= ${_dir}
|
||||
.endif
|
||||
.endfor
|
||||
SYSDIR?= ${S:C;^[^/];${.CURDIR}/&;}
|
||||
PORTSMODULESENV=SYSDIR=${SYSDIR}
|
||||
.for __target in all install reinstall clean
|
||||
${__target}: ports-${__target}
|
||||
|
Loading…
Reference in New Issue
Block a user