Workaround for old make.
Submitted by: Andrew J Caines <A.J.Caines@halplant.com>
This commit is contained in:
parent
75fb56a43c
commit
77669a4314
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100532
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,8 @@ RTLD= /libexec/ld-elf.so.1
|
|||
CFLAGS+= -DDEBUG=1
|
||||
.endif
|
||||
|
||||
.if (${OSVERSION} < 490102 || ${OSVERSION} >= 500000 && ${OSVERSION} < 501107) && !defined(PACKAGE_BUILDING)
|
||||
.if !defined(PACKAGE_BUILDING)
|
||||
.if ${OSVERSION} < 490102 || ${OSVERSION} >= 500000 && ${OSVERSION} < 501107
|
||||
pre-everything::
|
||||
@if ! strings ${RTLD} | ${GREP} libmap.conf > /dev/null 2>&1; then \
|
||||
${ECHO_MSG} 'Please enable libmap.conf(5) feature for rtld(1).'; \
|
||||
|
@ -71,6 +72,7 @@ pre-everything::
|
|||
${FALSE}; \
|
||||
fi
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
@${SED} -e 's,%%PREFIX%%,${PREFIX},' \
|
||||
|
|
Loading…
Reference in a new issue