Merge pull request #1241 from marineam/local-fix

spidermonkey: fix improper error handling
This commit is contained in:
Michael Marineau 2015-05-07 12:08:29 -07:00
commit 3fa2cd90e6

View File

@ -56,6 +56,7 @@ src_prepare() {
} }
src_configure() { src_configure() {
local nspr_cflags nspr_libs
cd "${BUILDDIR}" || die cd "${BUILDDIR}" || die
# Mozilla screws up the meaning of BUILD, HOST, and TARGET :( # Mozilla screws up the meaning of BUILD, HOST, and TARGET :(
@ -67,8 +68,8 @@ src_configure() {
HOST_AR="${BUILD_AR}" HOST_RANLIB="${BUILD_RANLIB}" HOST_AR="${BUILD_AR}" HOST_RANLIB="${BUILD_RANLIB}"
# Use pkg-config instead of nspr-config to use $SYSROOT # Use pkg-config instead of nspr-config to use $SYSROOT
local nspr_cflags="$(${PKG_CONFIG} --cflags nspr)" || die nspr_cflags="$(${PKG_CONFIG} --cflags nspr)" || die
local nspr_libs="$(${PKG_CONFIG} --libs nspr)" || die nspr_libs="$(${PKG_CONFIG} --libs nspr)" || die
econf \ econf \
${myopts} \ ${myopts} \