Skip to content

Commit

Permalink
app-editors/neovim: fix live ebuild darwin patch
Browse files Browse the repository at this point in the history
With commit neovim/neovim@4cf4ae9
checking against string "Darwin" is removed and variable name APPLE is
used instead.

Signed-off-by: brahmajit das <[email protected]>
Closes: gentoo#29918
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
listout authored and thesamesam committed Mar 4, 2023
1 parent 918d6ec commit e9b4823
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app-editors/neovim/files/neovim-9999-cmake-darwin.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e9b4823

Please sign in to comment.