diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-18 01:35:28 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-04-18 14:06:54 +0300 |
commit | 592e23ab123acfb18c0988f107528744727337d8 (patch) | |
tree | c8b2af529d36227678e7843eb14a95476d3b3091 /liborcus | |
parent | fdo#61873 - add WiFi experimental feature alert. (diff) | |
download | core-592e23ab123acfb18c0988f107528744727337d8.tar.gz core-592e23ab123acfb18c0988f107528744727337d8.zip |
ax_boost_system.m4 uses "tac" which is not portable, OS X has "tail -r"
(Still, did not manage yet to build liborcus against boost 1.53 on OS X.)
Change-Id: I29b3e032badfe2e3631cd5f79f8c9e7bb0627dc8
Diffstat (limited to 'liborcus')
-rw-r--r-- | liborcus/UnpackedTarball_orcus.mk | 5 | ||||
-rw-r--r-- | liborcus/liborcus_0.1.0-tac.patch | 20 |
2 files changed, 25 insertions, 0 deletions
diff --git a/liborcus/UnpackedTarball_orcus.mk b/liborcus/UnpackedTarball_orcus.mk index 9f690284125f..6370b2f8a4b1 100644 --- a/liborcus/UnpackedTarball_orcus.mk +++ b/liborcus/UnpackedTarball_orcus.mk @@ -21,6 +21,11 @@ orcus_patches += liborcus_0.1.0-configure.patch # don't use dllimport orcus_patches += liborcus_0.1.0-dllimport.patch +ifeq ($(OS),MACOSX) +# no "tac" command on OS X, but "tail -r" +orcus_patches += liborcus_0.1.0-tac.patch +endif + # <https://gitorious.org/orcus/orcus/merge_requests/2# # f60d6eecee72349993a392a9a63ddf3383d3b8c8- # f60d6eecee72349993a392a9a63ddf3383d3b8c8@2>: diff --git a/liborcus/liborcus_0.1.0-tac.patch b/liborcus/liborcus_0.1.0-tac.patch new file mode 100644 index 000000000000..01c77a9565f2 --- /dev/null +++ b/liborcus/liborcus_0.1.0-tac.patch @@ -0,0 +1,20 @@ +--- configure ++++ configure +@@ -15668,7 +15668,7 @@ + + LDFLAGS_SAVE=$LDFLAGS + if test "x$ax_boost_user_system_lib" = "x"; then +- for libextension in `ls $BOOSTLIBDIR/libboost_system*.a* $BOOSTLIBDIR/libboost_system*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.\(so\|a\).*$;\1;' | tac` ; do ++ for libextension in `ls $BOOSTLIBDIR/libboost_system*.a* $BOOSTLIBDIR/libboost_system*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.\(so\|a\).*$;\1;' | tail -r` ; do + ax_lib=${libextension} + as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5 +@@ -15716,7 +15716,7 @@ + + done + if test "x$link_system" != "xyes"; then +- for libextension in `ls $BOOSTLIBDIR/boost_system*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_system.*\)\.\(dll\|a\).*$;\1;' | tac` ; do ++ for libextension in `ls $BOOSTLIBDIR/boost_system*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_system.*\)\.\(dll\|a\).*$;\1;' | tail -r` ; do + ax_lib=${libextension} + as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5 |