Prevent collision with dprintf(3)

This commit is contained in:
Baptiste Daroussin 2016-05-13 18:59:03 +00:00
parent 507b8c23fc
commit 742fe64a95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415134

View File

@ -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