aboutsummaryrefslogtreecommitdiffstats
path: root/editors/em
diff options
context:
space:
mode:
Diffstat (limited to 'editors/em')
-rw-r--r--editors/em/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/em/Makefile b/editors/em/Makefile
index 45ffd867bbb..a215b700e74 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