freebsd-ports/math/mosesdecoder/files/patch-jam-files-sanity.jam
Dmitry Sivachenko fbaaa3b5ee New port: mosesdecoder.
Moses is a statistical machine translation system that allows you to
automatically train translation models for any language pair.  All you
need is a collection of translated texts (parallel corpus).  Once you have a
trained model, an efficient search algorithm quickly finds the highest
probability translation among the exponential number of choices.

WWW: http://www.statmt.org/moses/
2014-09-02 13:42:23 +00:00

11 lines
673 B
Text

--- jam-files/sanity.jam.orig 2014-08-30 10:44:53.000000000 +0400
+++ jam-files/sanity.jam 2014-08-30 20:33:46.000000000 +0400
@@ -162,7 +162,7 @@ rule boost-lib ( name macro : deps * ) {
#Argument is e.g. 103600
rule boost ( min-version ) {
- local cmd = "bash -c \"g++ "$(I-boost-include)" -dM -x c++ -E /dev/null -include boost/version.hpp 2>/dev/null |grep '#define BOOST_'\"" ;
+ local cmd = "bash -c \"CC "$(I-boost-include)" -dM -x c++ -E /dev/null -include boost/version.hpp 2>/dev/null |grep '#define BOOST_'\"" ;
local boost-shell = [ SHELL "$(cmd)" : exit-status ] ;
if $(boost-shell[2]) != 0 && $(CLEANING) = no {
echo Failed to run "$(cmd)" ;