diff options
author | Fabian Groffen <grobian@gentoo.org> | 2021-01-14 14:39:14 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2021-01-14 14:40:18 +0100 |
commit | 918ca338cb2853bb8c94b6d8122631c4553ee93e (patch) | |
tree | 1daf6b1e64ac711d704ee3095c28e59bc476353c /dev-util/cmake | |
parent | sys-devel/gnuconfig: Fixed ps2 target patch (diff) | |
download | gentoo-918ca338cb2853bb8c94b6d8122631c4553ee93e.tar.gz gentoo-918ca338cb2853bb8c94b6d8122631c4553ee93e.tar.bz2 gentoo-918ca338cb2853bb8c94b6d8122631c4553ee93e.zip |
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 <grobian@gentoo.org>
Diffstat (limited to 'dev-util/cmake')
-rw-r--r-- | dev-util/cmake/cmake-3.19.3.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
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' \ |