aboutsummaryrefslogtreecommitdiff
path: root/misc/zaptel
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-11-01 19:34:00 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-11-01 19:34:00 +0000
commitd49f2e8522d51c8451fd1c4bcdad3e0b35628523 (patch)
tree25d7d32ae897e1b0b7fb44aa77b9e557dde51a33 /misc/zaptel
parent07a219fd05767136b3a01a76307835a346337d28 (diff)
downloadports-d49f2e8522d51c8451fd1c4bcdad3e0b35628523.tar.gz
ports-d49f2e8522d51c8451fd1c4bcdad3e0b35628523.zip
Notes
Diffstat (limited to 'misc/zaptel')
-rw-r--r--misc/zaptel/Makefile7
1 files changed, 7 insertions, 0 deletions
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|<getopt.h>|<unistd.h>|g" \
+ ${WRKSRC}/test/ztmonitor.c ${WRKSRC}/test/zttool.c \
+ ${WRKSRC}/ztcfg/ztcfg.c
+
pre-install:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \
${PKGMESSAGE}