aboutsummaryrefslogtreecommitdiff
path: root/shells/flash/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'shells/flash/Makefile')
-rw-r--r--shells/flash/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/shells/flash/Makefile b/shells/flash/Makefile
index ce3ac0ebc515..9251c0ff671f 100644
--- a/shells/flash/Makefile
+++ b/shells/flash/Makefile
@@ -22,6 +22,7 @@ LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
MAN1= flash.1
@@ -39,7 +40,7 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_NCURSES_NCURSES_H" \
post-patch:
.for file in ${SCRIPT}
- @${PERL} -pi -e "s:/usr/slocal:${PREFIX}:g" ${WRKSRC}/orcasetup/${file}
+ @${REINPLACE_CMD} -e "s:/usr/slocal:${PREFIX}:g" ${WRKSRC}/orcasetup/${file}
.endfor
do-install: