aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/srilm
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/srilm')
-rw-r--r--textproc/srilm/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/textproc/srilm/Makefile b/textproc/srilm/Makefile
index 9d9457e86646..642427c3c841 100644
--- a/textproc/srilm/Makefile
+++ b/textproc/srilm/Makefile
@@ -15,6 +15,7 @@ LIB_DEPENDS= libtcl84.so:${PORTSDIR}/lang/tcl84
DOWNLOAD_URL?= http://www.speech.sri.com/projects/srilm/download.html
USES= gmake
+USE_GCC= yes
MAKE_ENV+= SRILM=${WRKSRC}
ALL_TARGET= World
ONLY_FOR_ARCHS= i386 amd64
@@ -70,6 +71,8 @@ post-patch:
@cd ${WRKSRC} && \
${REINPLACE_CMD} -e 's,$$WRKSRC,${WRKSRC},g' \
sbin/go.run-test
+ ${REINPLACE_CMD} -e 's,gcc,${CC},' -e 's,g++,${CXX},' \
+ ${WRKSRC}/common/Makefile.machine.freebsd
do-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}