aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/srilm
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2014-03-28 16:57:50 +0800
committerdemon <demon@FreeBSD.org>2014-03-28 16:57:50 +0800
commite48b7466dec69335817989ca4010c99aa0838274 (patch)
treefbe29a99e4b4a9a66dd75d7ba42306080b9696c6 /textproc/srilm
parent6885f2ea2d548f66cb7308561574337cd6fb9f43 (diff)
downloadfreebsd-ports-gnome-e48b7466dec69335817989ca4010c99aa0838274.tar.gz
freebsd-ports-gnome-e48b7466dec69335817989ca4010c99aa0838274.tar.zst
freebsd-ports-gnome-e48b7466dec69335817989ca4010c99aa0838274.zip
Fix build on FreeBSD 10+ (version without gcc)
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}