summaryrefslogtreecommitdiff
path: root/extra/boost
diff options
context:
space:
mode:
Diffstat (limited to 'extra/boost')
-rw-r--r--extra/boost/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/boost/PKGBUILD b/extra/boost/PKGBUILD
index d2ecd0b95..dc47b2857 100644
--- a/extra/boost/PKGBUILD
+++ b/extra/boost/PKGBUILD
@@ -12,7 +12,7 @@ pkgver=1.53.0
_boostver=${pkgver//./_}
pkgrel=2
url="http://www.boost.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
makedepends=('icu>=51.1' 'python' 'python2' 'bzip2' 'zlib' 'openmpi')
source=(http://downloads.sourceforge.net/${pkgbase}/${pkgbase}_${_boostver}.tar.gz
@@ -42,6 +42,7 @@ build() {
_bindir="bin.linuxx86"
[ "${CARCH}" = "x86_64" ] && _bindir="bin.linuxx86_64"
+ [ "${CARCH}" = "mips64el" ] && _bindir="bin.linuxmips"
install -d -m 755 "${_stagedir}"/bin
install "${srcdir}"/${pkgbase}_${_boostver}/tools/build/v2/engine/${_bindir}/bjam "${_stagedir}"/bin/bjam
@@ -58,6 +59,9 @@ build() {
install -d -m 755 "${_stagedir}"/share/boostbook
cp -a tools/boostbook/{xsl,dtd} "${_stagedir}"/share/boostbook/
+ # Disable context on mips64el, it needs N32-specific assembly.
+ [ "$CARCH" = "mips64el" ] && extra=--without-context
+
# default "minimal" install: "release link=shared,static
# runtime-link=shared threading=single,multi"
# --layout=tagged will add the "-mt" suffix for multithreaded libraries
@@ -74,6 +78,7 @@ build() {
python=2.7 \
--layout=system \
--prefix="${_stagedir}" \
+ $extra \
${JOBS} \
install