aboutsummaryrefslogtreecommitdiff
path: root/lang/o2c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
commit37f2224fa6a14520df830ae1daeba9b877daa347 (patch)
tree13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /lang/o2c
parent3ff37e385bb15e608586b24278ba3dde9ea57151 (diff)
downloadports-37f2224fa6a14520df830ae1daeba9b877daa347.tar.gz
ports-37f2224fa6a14520df830ae1daeba9b877daa347.zip
Notes
Diffstat (limited to 'lang/o2c')
-rw-r--r--lang/o2c/Makefile4
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