diff options
Diffstat (limited to 'sci-biology/mira/files/mira-3.4.0.2-boost-1.50.patch')
-rw-r--r-- | sci-biology/mira/files/mira-3.4.0.2-boost-1.50.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-biology/mira/files/mira-3.4.0.2-boost-1.50.patch b/sci-biology/mira/files/mira-3.4.0.2-boost-1.50.patch new file mode 100644 index 000000000..427192294 --- /dev/null +++ b/sci-biology/mira/files/mira-3.4.0.2-boost-1.50.patch @@ -0,0 +1,24 @@ + config/m4/ax_boost_regex.m4 | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/config/m4/ax_boost_regex.m4 b/config/m4/ax_boost_regex.m4 +index 1ac06af..5b7be93 100644 +--- a/config/m4/ax_boost_regex.m4 ++++ b/config/m4/ax_boost_regex.m4 +@@ -78,14 +78,14 @@ AC_DEFUN([AX_BOOST_REGEX], + for libextension in `ls $BOOSTLIBDIR/libboost_regex*.so* $BOOSTLIBDIR/libboost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_regex.*\)\.so.*$;\1;' -e 's;^lib\(boost_regex.*\)\.a*$;\1;'` ; do + ax_lib=${libextension} + AC_CHECK_LIB($ax_lib, exit, +- [BOOST_REGEX_LIB="-l$ax_lib"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break], ++ [BOOST_REGEX_LIB="-l$ax_lib -lboost_system"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break], + [link_regex="no"]) + done + if test "x$link_regex" != "xyes"; then + for libextension in `ls $BOOSTLIBDIR/boost_regex*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a*$;\1;'` ; do + ax_lib=${libextension} + AC_CHECK_LIB($ax_lib, exit, +- [BOOST_REGEX_LIB="-l$ax_lib"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break], ++ [BOOST_REGEX_LIB="-l$ax_lib -lboost_system"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break], + [link_regex="no"]) + done + fi |