summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/distro/chinook-compat.conf1
-rw-r--r--packages/boost/boost_1.34.1.bb13
2 files changed, 13 insertions, 1 deletions
diff --git a/conf/distro/chinook-compat.conf b/conf/distro/chinook-compat.conf
index 24a90e4e59..b9d882d5d6 100644
--- a/conf/distro/chinook-compat.conf
+++ b/conf/distro/chinook-compat.conf
@@ -211,6 +211,7 @@ PKG_zlib = "zlib1g"
PKG_libglade = "libglade2-0"
PKG_libsoup = "libsoup2.2-8"
+PKG_libsdl-mixer = "libsdl-mixer1.2"
PKG_libsdl-image = "libsdl-image1.2"
PKG_libsdl-directfb = "libsdl1.2"
PKG_libsdl-ttf = "libsdl-ttf2.0-0"
diff --git a/packages/boost/boost_1.34.1.bb b/packages/boost/boost_1.34.1.bb
index 68afcafea5..712bb6c566 100644
--- a/packages/boost/boost_1.34.1.bb
+++ b/packages/boost/boost_1.34.1.bb
@@ -15,7 +15,7 @@ SRC_URI = "\
file://${PV}-gcc43.patch;patch=1 \
"
-PR = "r0"
+PR = "r1"
BJAM_TOOLS = "--toolset=gcc \
'-sGCC=${CC} '${BJAM_CONF} \
@@ -39,3 +39,14 @@ do_configure() {
echo "import toolset : using ;" > tools/build/v2/user-config.jam
echo "using gcc : : ${CC} : <cflags>${CFLAGS} <cxxflags>${CXXFLAGS} <linkflags>${LDFLAGS} ;" >> tools/build/v2/user-config.jam
}
+
+do_install_append() {
+ # Since boost does not provide library files in the form
+ # lib<name>.so.<abi> and a symlink pointing to this file
+ # we need to do this manually.
+ for F in `find ${D}${libdir} -name "*.so" -maxdepth 1`; do
+ echo renaming $F to $F.${PV}
+ mv $F $F.${PV}
+ ln -sf `basename $F`.${PV} $F
+ done
+}