Fix build on -current.
Original patch from: Alex Dupre <sysadmin@alexdupre.com> (maintainer) REINPLACE version by: osa PR: 58619
This commit is contained in:
parent
758636d269
commit
31c8d3fc87
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92451
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,12 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
|
|||
|
||||
MAKE_ENV+= CPPFLAGS="-DPREFIX=\\\"${PREFIX}\\\""
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -i.bak -e 's|varargs.h|stdarg.h|' \
|
||||
${WRKSRC}/chkmodules.h \
|
||||
${WRKSRC}/main.h \
|
||||
${WRKSRC}/modules_check/ldd_http_module.h
|
||||
|
||||
post-build:
|
||||
@${REINPLACE_CMD} -e 's,%PREFIX%,${PREFIX},g' \
|
||||
${.CURDIR}/pkg-message.in > ${WRKDIR}/pkg-message
|
||||
|
|
Loading…
Reference in a new issue