aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-05-13 18:59:03 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-05-13 18:59:03 +0000
commit742fe64a95f947a3cc13b0d2adb767993fb3f2c6 (patch)
tree919fe53a3dd5d4eaf2abb5c079526e1061878d5e
parent507b8c23fc9a475f00a81af95066d5301f8c32ef (diff)
downloadports-742fe64a95f947a3cc13b0d2adb767993fb3f2c6.tar.gz
ports-742fe64a95f947a3cc13b0d2adb767993fb3f2c6.zip
Prevent collision with dprintf(3)
Notes
Notes: svn path=/head/; revision=415134
-rw-r--r--dns/nsping/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/dns/nsping/Makefile b/dns/nsping/Makefile
index 59ff2cc99cb6..6362148ba8d2 100644
--- a/dns/nsping/Makefile
+++ b/dns/nsping/Makefile
@@ -13,6 +13,9 @@ COMMENT= DNS "ping"
PLIST_FILES= sbin/nsping man/man8/nsping.8.gz
+post-patch:
+ ${REINPLACE_CMD} -e "s/dprintf/debug_printf/g" ${WRKSRC}/nsping.*
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nsping ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/nsping.8 ${STAGEDIR}${PREFIX}/man/man8