aboutsummaryrefslogtreecommitdiff
path: root/net/dnrd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/dnrd/Makefile')
-rw-r--r--net/dnrd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dnrd/Makefile b/net/dnrd/Makefile
index d607c6ab4fca..e6da2990897d 100644
--- a/net/dnrd/Makefile
+++ b/net/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>