aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-10-28 22:11:20 +0800
committerosa <osa@FreeBSD.org>2003-10-28 22:11:20 +0800
commitefe109325eb51abba1d0e6083847bf8ba0b470c7 (patch)
tree987e4add8215ef3e489d10900e3f3fbdc814fbbf /net
parent0035e9e725007088057a17ed59716d42bb036a77 (diff)
downloadfreebsd-ports-gnome-efe109325eb51abba1d0e6083847bf8ba0b470c7.tar.gz
freebsd-ports-gnome-efe109325eb51abba1d0e6083847bf8ba0b470c7.tar.zst
freebsd-ports-gnome-efe109325eb51abba1d0e6083847bf8ba0b470c7.zip
Fix build on -current.
Original patch from: Alex Dupre <sysadmin@alexdupre.com> (maintainer) REINPLACE version by: osa PR: 58619
Diffstat (limited to 'net')
-rw-r--r--net/lmd/Makefile6
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