summaryrefslogtreecommitdiffstats
path: root/sysutils/mktool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/mktool/Makefile')
-rw-r--r--sysutils/mktool/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/mktool/Makefile b/sysutils/mktool/Makefile
index 1e2d6c7..1705435 100644
--- a/sysutils/mktool/Makefile
+++ b/sysutils/mktool/Makefile
@@ -17,7 +17,8 @@ WRKSRC= ${WRKDIR}/mktool
USE_GMAKE= yes
post-extract:
- @${PERL} -pi -e 's,^OPT=.*,OPT=${CFLAGS},; \
+ @${REINPLACE_CMD} -e ' \
+ s,^OPT=.*,OPT=${CFLAGS},; \
s,=gcc,?=gcc,; \
s,^bindir=.*,bindir=${PREFIX}/bin,; \
s,cp -a,install -m ${BINMODE},' ${WRKSRC}/Makefile
OpenPOWER on IntegriCloud