dev-lang/mercury: handle spaces in mercury PARALLEL args

Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Keri Harris
2018-07-16 21:45:20 +02:00
parent c60c136a1b
commit 1e49d9a72e
3 changed files with 14 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=2
@@ -69,7 +69,7 @@ src_configure() {
src_compile() {
# Build Mercury using base llds grade
emake \
PARALLEL=${MAKEOPTS} \
PARALLEL="'${MAKEOPTS}'" \
MMAKEFLAGS="EXTRA_MLFLAGS=--no-strip \
EXTRA_LDFLAGS='${LDFLAGS}' \
EXTRA_LD_LIBFLAGS='${LDFLAGS}'" \
@@ -88,7 +88,7 @@ src_compile() {
# Rebuild Mercury compiler using the just built mercury_compiler
emake \
PARALLEL=${MAKEOPTS} \
PARALLEL="'${MAKEOPTS}'" \
MMAKEFLAGS="EXTRA_MLFLAGS=--no-strip \
EXTRA_LDFLAGS='${LDFLAGS}' \
EXTRA_LD_LIBFLAGS='${LDFLAGS}'" \
@@ -99,7 +99,7 @@ src_compile() {
# compile the llds base grade. Since src_test() is run before
# src_install() we compile the default grade now
emake \
PARALLEL=${MAKEOPTS} \
PARALLEL="'${MAKEOPTS}'" \
MMAKEFLAGS="EXTRA_MLFLAGS=--no-strip \
EXTRA_LDFLAGS='${LDFLAGS}' \
EXTRA_LD_LIBFLAGS='${LDFLAGS}'" \
@@ -141,7 +141,7 @@ src_test() {
src_install() {
emake \
PARALLEL=${MAKEOPTS} \
PARALLEL="'${MAKEOPTS}'" \
MMAKEFLAGS="EXTRA_MLFLAGS=--no-strip \
EXTRA_LDFLAGS='${LDFLAGS}' \
EXTRA_LD_LIBFLAGS='${LDFLAGS}'" \

View File

@@ -77,7 +77,7 @@ src_compile() {
# Build Mercury using bootstrap grade
emake \
PARALLEL="${MAKEOPTS}" \
PARALLEL="'${MAKEOPTS}'" \
|| die "emake failed"
# We can now patch .m Mercury compiler files since we
@@ -95,7 +95,7 @@ src_compile() {
# Rebuild Mercury compiler using the just built mercury_compiler
emake \
PARALLEL="${MAKEOPTS}" \
PARALLEL="'${MAKEOPTS}'" \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
compiler || die "emake compiler failed"
@@ -103,7 +103,7 @@ src_compile() {
# grade. Since src_test() is run before src_install() we compile
# the default grade now
emake \
PARALLEL="${MAKEOPTS}" \
PARALLEL="'${MAKEOPTS}'" \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
default_grade || die "emake default_grade failed"
}
@@ -147,7 +147,7 @@ src_test() {
src_install() {
emake \
PARALLEL="${MAKEOPTS}" \
PARALLEL="'${MAKEOPTS}'" \
MERCURY_COMPILER="${S}"/compiler/mercury_compile \
DESTDIR="${D}" \
INSTALL_PREFIX="${D}"/usr \

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -72,7 +72,7 @@ src_configure() {
src_compile() {
# Build Mercury using base llds grade
emake \
PARALLEL=${MAKEOPTS} \
PARALLEL="'${MAKEOPTS}'" \
MMAKEFLAGS="EXTRA_MLFLAGS=--no-strip \
EXTRA_CFLAGS='${CFLAGS}' \
EXTRA_LDFLAGS='${LDFLAGS}'" \
@@ -93,7 +93,7 @@ src_compile() {
# Rebuild Mercury compiler using the just built mercury_compiler
emake \
PARALLEL=${MAKEOPTS} \
PARALLEL="'${MAKEOPTS}'" \
MMAKEFLAGS="EXTRA_MLFLAGS=--no-strip \
EXTRA_CFLAGS='${CFLAGS}' \
EXTRA_LDFLAGS='${LDFLAGS}'" \
@@ -104,7 +104,7 @@ src_compile() {
# compile the llds base grade. Since src_test() is run before
# src_install() we compile the default grade now
emake \
PARALLEL=${MAKEOPTS} \
PARALLEL="'${MAKEOPTS}'" \
MMAKEFLAGS="EXTRA_MLFLAGS=--no-strip \
EXTRA_CFLAGS='${CFLAGS}' \
EXTRA_LDFLAGS='${LDFLAGS}'" \
@@ -146,7 +146,7 @@ src_test() {
src_install() {
emake \
PARALLEL=${MAKEOPTS} \
PARALLEL="'${MAKEOPTS}'" \
MMAKEFLAGS="EXTRA_MLFLAGS=--no-strip \
EXTRA_CFLAGS='${CFLAGS}' \
EXTRA_LDFLAGS='${LDFLAGS}'" \