Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 528056 Details for
Bug 653554
dev-build/cmake - cmake_src_bootstrap is trying to be too clever with MAKEOPTS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cmake.ebuild.diff
cmake.ebuild.diff (text/plain), 853 bytes, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2018-04-19 19:22:11 UTC
(
hide
)
Description:
cmake.ebuild.diff
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2018-04-19 19:22:11 UTC
Size:
853 bytes
patch
obsolete
>diff --git a/dev-util/cmake/cmake-3.11.1.ebuild b/dev-util/cmake/cmake-3.11.1.ebuild >index 2ceccc1ef95..121e8eb42ba 100644 >--- a/dev-util/cmake/cmake-3.11.1.ebuild >+++ b/dev-util/cmake/cmake-3.11.1.ebuild >@@ -65,10 +65,8 @@ PATCHES=( > cmake_src_bootstrap() { > # Cleanup args to extract only JOBS. > # Because bootstrap does not know anything else. >- echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' > /dev/null >- if [ $? -eq 0 ]; then >- par_arg=$(echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' | tail -n1 | egrep -o '[[:digit:]]+') >- par_arg="--parallel=${par_arg}" >+ if grep -Eq '(\-j|\-\-jobs)(=*|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS} : then >+ par_arg="--parallel=$(sed 's@.*\(-j\|--jobs\)\(=*\|[[:space:]]*\)\([[:digit:]]\+\).*@\3@' <<< ${MAKEOPTS})" > else > par_arg="--parallel=1" > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 653554
: 528056