summaryrefslogtreecommitdiffstats
path: root/textproc/mguesser
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 03:17:29 +0000
committeredwin <edwin@FreeBSD.org>2002-11-04 03:17:29 +0000
commit690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd (patch)
tree2cdd4a2b9a4f727046ab669be268f18bab7f2d42 /textproc/mguesser
parent266a6d44cdb9993738dffb2c3b706a6ca59eeb36 (diff)
downloadFreeBSD-ports-690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd.zip
FreeBSD-ports-690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd.tar.gz
PERL -> REINPLACE
and USE_PERL5 in some places Noticed by: bento
Diffstat (limited to 'textproc/mguesser')
-rw-r--r--textproc/mguesser/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/mguesser/Makefile b/textproc/mguesser/Makefile
index e59965a..29b5e27 100644
--- a/textproc/mguesser/Makefile
+++ b/textproc/mguesser/Makefile
@@ -15,9 +15,11 @@ MAINTAINER= markp@FreeBSD.org
WRKSRC= ${WRKDIR}/guesser
CFLAGS+= -DUDM_GUESSER_STANDALONG -DLMDIR=\"${PREFIX}/share/mguesser\"
MAKE_ENV+= CFLAGS="${$CFLAGS}"
+USE_REINPLACE= yes
post-patch:
- ${PERL} -pi -e "s/^CC=.+//g; s|^CFLAGS=|CFLAGS+=|g; s|-Wall -g||g; \
+ ${REINPLACE_CMD} -e \
+ "s/^CC=.+//g; s|^CFLAGS=|CFLAGS+=|g; s|-Wall -g||g; \
s|./maps|${PREFIX}/share/mguesser|g" ${WRKSRC}/Makefile
do-install:
OpenPOWER on IntegriCloud