From efe109325eb51abba1d0e6083847bf8ba0b470c7 Mon Sep 17 00:00:00 2001 From: osa Date: Tue, 28 Oct 2003 14:11:20 +0000 Subject: 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(+) (limited to 'net') 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 -- cgit