dev-libs/boost: Fix incorrect use of EPREFIX
authorJames Le Cuirot <chewi@gentoo.org>
Mon, 22 Apr 2019 20:12:56 +0000 (21:12 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Mon, 22 Apr 2019 20:12:56 +0000 (21:12 +0100)
In the case of ICU_PATH, it still doesn't work when cross-compiling
but this is due to an upstream bug where the build system tries to
execute a native test binary.

Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
dev-libs/boost/boost-1.70.0.ebuild

index d842d867d5914c139c80327fc583462193feac94..570df6cc84431f657cf3bc28fecd03857729fe6d 100644 (file)
@@ -166,13 +166,13 @@ src_configure() {
                -q
                -d+2
                pch=off
-               $(usex icu "-sICU_PATH=${EPREFIX}/usr" '--disable-icu boost.locale.icu=off')
+               $(usex icu "-sICU_PATH=${ESYSROOT}/usr" '--disable-icu boost.locale.icu=off')
                $(usex mpi '' '--without-mpi')
                $(usex nls '' '--without-locale')
                $(usex context '' '--without-context --without-coroutine --without-fiber')
                $(usex threads '' '--without-thread')
                --without-stacktrace
-               --boost-build="${EPREFIX}"/usr/share/boost-build
+               --boost-build="${BROOT}"/usr/share/boost-build
                --prefix="${ED}/usr"
                --layout=system
                # CMake has issues working with multiple python impls,