From b9c12aa595b018e776125375ce2e6846489710e0 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 4 Nov 2002 01:15:06 +0000 Subject: PERL -> REINPLACE Noticed by: bento --- lang/dice/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lang/dice') diff --git a/lang/dice/Makefile b/lang/dice/Makefile index afcfdac723ea..e8e79148e5c0 100644 --- a/lang/dice/Makefile +++ b/lang/dice/Makefile @@ -15,12 +15,14 @@ EXTRACT_SUFX= .tgz MAINTAINER= adamw@FreeBSD.org +USE_REINPLACE= yes + post-patch: @for i in ${WRKSRC}/lib/version.h ${WRKSRC}/include/lib/version.h \ ${WRKSRC}/src/dcpp/main.c ${WRKSRC}/src/dcc/defs.h \ ${WRKSRC}/src/dlink/main.c; \ do \ - ${PERL} -pi -e 's@/home/dice@${PREFIX}/share/dice@g' $$i; \ + ${REINPLACE_CMD} -e 's@/home/dice@${PREFIX}/share/dice@g' $$i; \ done @${CP} ${FILESDIR}/Makefile ${WRKSRC} -- cgit v1.2.3