summaryrefslogtreecommitdiffstats
path: root/net/lmd
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-10-28 14:11:20 +0000
committerosa <osa@FreeBSD.org>2003-10-28 14:11:20 +0000
commitefe109325eb51abba1d0e6083847bf8ba0b470c7 (patch)
tree987e4add8215ef3e489d10900e3f3fbdc814fbbf /net/lmd
parent0035e9e725007088057a17ed59716d42bb036a77 (diff)
downloadFreeBSD-ports-efe109325eb51abba1d0e6083847bf8ba0b470c7.zip
FreeBSD-ports-efe109325eb51abba1d0e6083847bf8ba0b470c7.tar.gz
Fix build on -current.
Original patch from: Alex Dupre <sysadmin@alexdupre.com> (maintainer) REINPLACE version by: osa PR: 58619
Diffstat (limited to 'net/lmd')
-rw-r--r--net/lmd/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/lmd/Makefile b/net/lmd/Makefile
index a3b0dc9..eb3d870 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
OpenPOWER on IntegriCloud