summaryrefslogtreecommitdiff
path: root/x11/xstroke
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commit534fffca27bb18f7529d548c46ee3326505a89c7 (patch)
treea09ac440edd299d85a3517dea62caa2b115543fc /x11/xstroke
parentUpdate for a new patchset, which has only different comments. (diff)
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Notes
Notes: svn path=/head/; revision=65426
Diffstat (limited to 'x11/xstroke')
-rw-r--r--x11/xstroke/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/xstroke/Makefile b/x11/xstroke/Makefile
index 3adb3c26fdaa..4dba512c6179 100644
--- a/x11/xstroke/Makefile
+++ b/x11/xstroke/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+USE_REINPLACE= yes
USE_BISON= yes
USE_IMAKE= yes
CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
@@ -24,10 +25,10 @@ LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lgnugetopt
MAN1= xstroke.1
post-patch:
- @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \
+ @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \
s,%%CFLAGS%%,${CFLAGS},g ; \
s,%%LDFLAGS%%,${LDFLAGS},g" ${WRKSRC}/Imakefile
- @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile
- @${PERL} -pi -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h
+ @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile
+ @${REINPLACE_CMD} -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h
.include <bsd.port.mk>