Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 560170 Details for
Bug 674768
cmake-utils.eclass: reduce patching of CMakeLists.txt
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cmake-utils.patch
cmake-utils.patch (text/plain), 1.58 KB, created by
Fabio Rossi
on 2019-01-07 09:21:12 UTC
(
hide
)
Description:
cmake-utils.patch
Filename:
MIME Type:
Creator:
Fabio Rossi
Created:
2019-01-07 09:21:12 UTC
Size:
1.58 KB
patch
obsolete
>--- /usr/portage/eclass/cmake-utils.eclass.old 2018-12-10 23:15:00.000000000 +0100 >+++ /usr/portage/eclass/cmake-utils.eclass 2019-01-07 10:19:53.302287927 +0100 >@@ -421,10 +421,10 @@ > # Comment out all set (<some_should_be_user_defined_variable> value) > # TODO Add QA checker - inform when variable being checked for below is set in CMakeLists.txt > find "${CMAKE_USE_DIR}" -name CMakeLists.txt \ >- -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_BUILD_TYPE.*)/{s/^/#IGNORE /g}' {} + \ >- -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_COLOR_MAKEFILE.*)/{s/^/#IGNORE /g}' {} + \ >- -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_INSTALL_PREFIX.*)/{s/^/#IGNORE /g}' {} + \ >- -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_VERBOSE_MAKEFILE.*)/{s/^/#IGNORE /g}' {} + \ >+ -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_BUILD_TYPE[[:space:]].*)/{s/^/#commented out by cmake-utils.eclass /g}' {} + \ >+ -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_COLOR_MAKEFILE[[:space:]].*)/{s/^/#commented out by cmake-utils.eclass /g}' {} + \ >+ -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_INSTALL_PREFIX[[:space:]].*)/{s/^/#commented out by cmake-utils.eclass /g}' {} + \ >+ -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_VERBOSE_MAKEFILE[[:space:]].*)/{s/^/#commented out by cmake-utils.eclass /g}' {} + \ > || die "${LINENO}: failed to disable hardcoded settings" > > # NOTE Append some useful summary here
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 674768
: 560170