diff options
Diffstat (limited to 'lang/o2c/Makefile')
-rw-r--r-- | lang/o2c/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/o2c/Makefile b/lang/o2c/Makefile index b725bdb57880..9bc63a8868d5 100644 --- a/lang/o2c/Makefile +++ b/lang/o2c/Makefile @@ -15,6 +15,7 @@ MAINTAINER= ob@breuninger.org # does not support 64-bit platforms ONLY_FOR_ARCHS= i386 +USE_REINPLACE= yes MAKE_ENV= MAKEOBJDIR=. MAN1= o2b.1 o2c.1 o2ef.1 o2whereis.1 @@ -22,7 +23,8 @@ post-extract: @${CP} ${FILESDIR}/o2 ${WRKSRC} post-patch: - @/usr/bin/perl -pi -e "s|\@PREFIX\@|${PREFIX}|g;" ${WRKSRC}/system/o2c.red.template + @${REINPLACE_CMD} -e \ + "s|\@PREFIX\@|${PREFIX}|g;" ${WRKSRC}/system/o2c.red.template post-install: ${INSTALL_DATA} ${WRKSRC}/system/o2c.red.template ${PREFIX}/lib/o2c-1.16 |