Avoid sub-shell for realpath(1) for bmake by using its built-in :tA.
MFC after: 2 weeks Approved by: portmgr (implicit)
This commit is contained in:
parent
952f13d9ee
commit
2e1c8d943d
@ -10,8 +10,12 @@ _PORTSDIR= ${.CURDIR}/${RELPATH}
|
||||
.endif
|
||||
.endfor
|
||||
_PORTSDIR?= /usr/ports
|
||||
.if defined(.PARSEDIR)
|
||||
PORTSDIR= ${_PORTSDIR:tA}
|
||||
.else # fmake doesn't have :tA
|
||||
PORTSDIR!= realpath ${_PORTSDIR}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
BSDPORTMK?= ${PORTSDIR}/Mk/bsd.port.mk
|
||||
|
||||
|
@ -10,8 +10,12 @@ _PORTSDIR= ${.CURDIR}/${RELPATH}
|
||||
.endif
|
||||
.endfor
|
||||
_PORTSDIR?= /usr/ports
|
||||
.if defined(.PARSEDIR)
|
||||
PORTSDIR= ${_PORTSDIR:tA}
|
||||
.else # fmake doesn't have :tA
|
||||
PORTSDIR!= realpath ${_PORTSDIR}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
BSDPORTSUBDIRMK?= ${PORTSDIR}/Mk/bsd.port.subdir.mk
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user