diff options
author | brahmajit das <listout@protonmail.com> | 2023-03-04 11:11:47 +0530 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-04 06:02:35 +0000 |
commit | e9b48235e47eaf2ab355b88cd531c477710742d2 (patch) | |
tree | 33a6584206fd5787b25b1679fc5023ba64c2601c /app-editors | |
parent | media-libs/lcms: add 2.15, drop 2.15_rc1 (diff) | |
download | gentoo-e9b48235e47eaf2ab355b88cd531c477710742d2.tar.gz gentoo-e9b48235e47eaf2ab355b88cd531c477710742d2.tar.bz2 gentoo-e9b48235e47eaf2ab355b88cd531c477710742d2.zip |
app-editors/neovim: fix live ebuild darwin patch
With commit https://github.com/neovim/neovim/commit/4cf4ae93df6af09ef3a0df678bb3d154b65bf731
checking against string "Darwin" is removed and variable name APPLE is
used instead.
Signed-off-by: brahmajit das <listout@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29918
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/neovim/files/neovim-9999-cmake-darwin.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch index b2920451743d..cdfb38c3fef4 100644 --- a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch +++ b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch @@ -4,10 +4,10 @@ foreach(gen_include ${prop}) list(APPEND gen_cflags "-I${gen_include}") endforeach() --if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_OSX_SYSROOT) +-if(APPLE AND CMAKE_OSX_SYSROOT) - list(APPEND gen_cflags "-isysroot") - list(APPEND gen_cflags "${CMAKE_OSX_SYSROOT}") -endif() set(gen_cflags ${gen_cflags} -O2) - + set(NVIM_VERSION_GIT_H ${PROJECT_BINARY_DIR}/cmake.config/auto/versiondef_git.h) |