summaryrefslogtreecommitdiff
path: root/editors/em/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 15:52:35 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-21 15:52:35 +0000
commit4fcd623a911ebff1fb406f959932040af7ed40b2 (patch)
tree3179f0030b56361bd63473d24ab0af7ddce20dbf /editors/em/Makefile
parentUpdate to 4.0.3 (diff)
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39591 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'editors/em/Makefile')
-rw-r--r--editors/em/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/em/Makefile b/editors/em/Makefile
index 45ffd867bbb3..a215b700e747 100644
--- a/editors/em/Makefile
+++ b/editors/em/Makefile
@@ -14,10 +14,11 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-lt
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" DEFINES=""
pre-patch:
- @${PERL} -pi -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/epath.h
+ @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/epath.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/em ${PREFIX}/bin/em