1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix build on -current.

Original patch from:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
REINPLACE version by:	osa
PR:			58619
This commit is contained in:
Sergey A. Osokin 2003-10-28 14:11:20 +00:00
parent 758636d269
commit 31c8d3fc87
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92451

View File

@ -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