aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-05-14 02:59:03 +0800
committerbapt <bapt@FreeBSD.org>2016-05-14 02:59:03 +0800
commit2c4473b64623432ba7fea6086b8efa67f349559b (patch)
tree919fe53a3dd5d4eaf2abb5c079526e1061878d5e /dns
parent8bd6c8ce0062aa6c9847651918a002b16069e3f1 (diff)
downloadfreebsd-ports-gnome-2c4473b64623432ba7fea6086b8efa67f349559b.tar.gz
freebsd-ports-gnome-2c4473b64623432ba7fea6086b8efa67f349559b.tar.zst
freebsd-ports-gnome-2c4473b64623432ba7fea6086b8efa67f349559b.zip
Prevent collision with dprintf(3)
Diffstat (limited to 'dns')
-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