From d49f2e8522d51c8451fd1c4bcdad3e0b35628523 Mon Sep 17 00:00:00 2001 From: Marcus Alves Grando Date: Tue, 1 Nov 2005 19:34:00 +0000 Subject: Fix build in 4.x PR: 87550 Approved by: sobomax (maintainer timeout, 15 days) --- misc/zaptel/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'misc/zaptel/Makefile') diff --git a/misc/zaptel/Makefile b/misc/zaptel/Makefile index 13bf9a2e09fe..53878fb30bdc 100644 --- a/misc/zaptel/Makefile +++ b/misc/zaptel/Makefile @@ -17,6 +17,8 @@ COMMENT= A FreeBSD Driver for FXO, FXS, BRI and PRI Telephony Cards LIB_DEPENDS= newt.51:${PORTSDIR}/devel/newt +USE_REINPLACE= yes + NO_PACKAGE= Should be in sync with the kernel to work correctly ONLY_FOR_ARCHS= i386 @@ -31,6 +33,11 @@ pre-everything:: ${FALSE}; \ fi +post-patch: + @${REINPLACE_CMD} -e "s|||g" \ + ${WRKSRC}/test/ztmonitor.c ${WRKSRC}/test/zttool.c \ + ${WRKSRC}/ztcfg/ztcfg.c + pre-install: @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \ ${PKGMESSAGE} -- cgit v1.2.3