summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
Diffstat (limited to 'dns')
-rw-r--r--dns/dnrd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dns/dnrd/Makefile b/dns/dnrd/Makefile
index d607c6ab4fca..e6da2990897d 100644
--- a/dns/dnrd/Makefile
+++ b/dns/dnrd/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= greid@FreeBSD.org
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_GMAKE= yes
+USE_REINPLACE= yes
MAN8= dnrd.8
@@ -23,6 +24,6 @@ post-patch:
@(cd ${WRKSRC} && ${SED} -e 's,%%PREFIX%%,${PREFIX},g' $F > foo && \
${MV} foo $F)
.endfor
- ${PERL} -pi -e "s@cc@${CC}@g; s@-lc_r@${PTHREAD_LIBS}@g" ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e "s@cc@${CC}@g; s@-lc_r@${PTHREAD_LIBS}@g" ${WRKSRC}/Makefile
.include <bsd.port.mk>