diff options
Diffstat (limited to 'textproc/kenlm/files/patch-jam-files-sanity.jam')
-rw-r--r-- | textproc/kenlm/files/patch-jam-files-sanity.jam | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/textproc/kenlm/files/patch-jam-files-sanity.jam b/textproc/kenlm/files/patch-jam-files-sanity.jam deleted file mode 100644 index 723cecf8d8da..000000000000 --- a/textproc/kenlm/files/patch-jam-files-sanity.jam +++ /dev/null @@ -1,19 +0,0 @@ ---- jam-files/sanity.jam.orig 2014-04-21 07:58:19.000000000 +0400 -+++ jam-files/sanity.jam 2014-08-31 00:16:40.000000000 +0400 -@@ -22,6 +22,7 @@ rule shell_or_fail ( cmd ) { - } - } - -+cxx = [ os.environ "CXX" ] ; - cxxflags = [ os.environ "CXXFLAGS" ] ; - cflags = [ os.environ "CFLAGS" ] ; - ldflags = [ os.environ "LDFLAGS" ] ; -@@ -148,7 +149,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 \"$(cxx) "$(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)" ; |