From 918ca338cb2853bb8c94b6d8122631c4553ee93e Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Thu, 14 Jan 2021 14:39:14 +0100 Subject: dev-util/cmake-3.19.3: disable Xcode hooks more drastically Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen --- dev-util/cmake/cmake-3.19.3.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dev-util/cmake') diff --git a/dev-util/cmake/cmake-3.19.3.ebuild b/dev-util/cmake/cmake-3.19.3.ebuild index 3dbd001d5376..930417171292 100644 --- a/dev-util/cmake/cmake-3.19.3.ebuild +++ b/dev-util/cmake/cmake-3.19.3.ebuild @@ -131,8 +131,11 @@ src_prepare() { if [[ ${CHOST} == *-darwin* ]] ; then # disable Xcode hooks, bug #652134 - sed -i -e 's/__APPLE__/__DISABLED_APPLE__/' \ - Source/cmGlobalXCodeGenerator.cxx || die + sed -i -e 's/cm\(\|Global\|Local\)XCode[^.]\+\.\(cxx\|h\)//' \ + Source/CMakeLists.txt || die + sed -i -e '/define CMAKE_USE_XCODE/s/XCODE/NO_XCODE/' \ + -e '/cmGlobalXCodeGenerator.h/d' \ + Source/cmake.cxx || die # disable isysroot usage with GCC, we've properly instructed # where things are via GCC configuration and ldwrapper sed -i -e '/cmake_gnu_set_sysroot_flag/d' \ -- cgit v1.2.3-65-gdbad