From 31c8d3fc870e6dabce2afbf259d365a550c5bf90 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Tue, 28 Oct 2003 14:11:20 +0000 Subject: [PATCH] Fix build on -current. Original patch from: Alex Dupre (maintainer) REINPLACE version by: osa PR: 58619 --- net/lmd/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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