Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 674768
Collapse All | Expand All

(-)/usr/portage/eclass/cmake-utils.eclass.old (-4 / +4 lines)
Lines 421-430 Link Here
421
	# Comment out all set (<some_should_be_user_defined_variable> value)
421
	# Comment out all set (<some_should_be_user_defined_variable> value)
422
	# TODO Add QA checker - inform when variable being checked for below is set in CMakeLists.txt
422
	# TODO Add QA checker - inform when variable being checked for below is set in CMakeLists.txt
423
	find "${CMAKE_USE_DIR}" -name CMakeLists.txt \
423
	find "${CMAKE_USE_DIR}" -name CMakeLists.txt \
424
		-exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_BUILD_TYPE.*)/{s/^/#IGNORE /g}' {} + \
424
		-exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_BUILD_TYPE[[:space:]].*)/{s/^/#commented out by cmake-utils.eclass /g}' {} + \
425
		-exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_COLOR_MAKEFILE.*)/{s/^/#IGNORE /g}' {} + \
425
		-exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_COLOR_MAKEFILE[[:space:]].*)/{s/^/#commented out by cmake-utils.eclass /g}' {} + \
426
		-exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_INSTALL_PREFIX.*)/{s/^/#IGNORE /g}' {} + \
426
		-exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_INSTALL_PREFIX[[:space:]].*)/{s/^/#commented out by cmake-utils.eclass /g}' {} + \
427
		-exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_VERBOSE_MAKEFILE.*)/{s/^/#IGNORE /g}' {} + \
427
		-exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_VERBOSE_MAKEFILE[[:space:]].*)/{s/^/#commented out by cmake-utils.eclass /g}' {} + \
428
		|| die "${LINENO}: failed to disable hardcoded settings"
428
		|| die "${LINENO}: failed to disable hardcoded settings"
429
429
430
	# NOTE Append some useful summary here
430
	# NOTE Append some useful summary here

Return to bug 674768