diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-04 03:17:29 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-04 03:17:29 +0000 |
commit | 690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd (patch) | |
tree | 2cdd4a2b9a4f727046ab669be268f18bab7f2d42 /textproc/mguesser | |
parent | 266a6d44cdb9993738dffb2c3b706a6ca59eeb36 (diff) | |
download | FreeBSD-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/Makefile | 4 |
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: |