diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/lmd/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/lmd/Makefile b/net/lmd/Makefile index a3b0dc99d7d8..eb3d8709140d 100644 --- a/net/lmd/Makefile +++ b/net/lmd/Makefile @@ -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 |