summaryrefslogtreecommitdiffstats
path: root/textproc/mguesser/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/mguesser/Makefile')
-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