aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/boost/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/boost/APKBUILD b/main/boost/APKBUILD
index 3d22e8d9d0..fe41d5de3e 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 \