diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-17 06:29:46 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-17 06:29:46 +0000 |
commit | 9abe11c61336c783c0c595103a270f83e3db2adc (patch) | |
tree | b0083ce0adddb1df3d324cabe22300977edd25b1 /main/boost/APKBUILD | |
parent | 00549a8838aaa531ceaabbabbeda0a5d8efbc5e7 (diff) | |
download | aports-9abe11c61336c783c0c595103a270f83e3db2adc.tar.bz2 aports-9abe11c61336c783c0c595103a270f83e3db2adc.tar.xz |
main/boost: fix arm build
Diffstat (limited to 'main/boost/APKBUILD')
-rw-r--r-- | main/boost/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/boost/APKBUILD b/main/boost/APKBUILD index 3d22e8d9d..fe41d5de3 100644 --- a/main/boost/APKBUILD +++ b/main/boost/APKBUILD @@ -72,12 +72,14 @@ _options="--user-config=\"$_builddir/user-config.jam\" -j${JOBS:-2} " +_boostarch=${CARCH/armhf/arm} + build() { msg "Building bjam" export BOOST_ROOT="$_builddir" cd "$_builddir"/tools/build/v2/engine CC= ./build.sh cc || return 1 - _bindir="$PWD/bin.linux$CARCH" + _bindir="$PWD/bin.linux$_boostarch" _bjam="$_bindir"/bjam msg "Building bcp" @@ -92,7 +94,7 @@ build() { package() { cd "$_builddir" export BOOST_ROOT="$_builddir" - local _bindir="$_builddir"/tools/build/v2/engine/bin.linux${CARCH} + local _bindir="$_builddir"/tools/build/v2/engine/bin.linux${_boostarch} install -m755 -d "$pkgdir"/usr/bin install -m755 ${_bindir}/bjam "$pkgdir"/usr/bin/bjam || return 1 install -m755 "$srcdir"/${pkgname}_${_ver}/dist/bin/bcp \ |