diff options
Diffstat (limited to 'app-editors/neovim/neovim-9999.ebuild')
-rw-r--r-- | app-editors/neovim/neovim-9999.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/app-editors/neovim/neovim-9999.ebuild b/app-editors/neovim/neovim-9999.ebuild index 4316da6d93cc..5f18e490acbb 100644 --- a/app-editors/neovim/neovim-9999.ebuild +++ b/app-editors/neovim/neovim-9999.ebuild @@ -68,12 +68,18 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-0.4.4-cmake-release-type.patch" - "${FILESDIR}/${PN}-0.4.4-cmake-darwin.patch" ) + if [[ ${PV} == 9999 ]]; then - PATCHES+=("${FILESDIR}/${PN}-9999-cmake_lua_version.patch") + PATCHES+=( + "${FILESDIR}/${PN}-9999-cmake_lua_version.patch" + "${FILESDIR}/${PN}-9999-cmake-darwin.patch" + ) else - PATCHES+=("${FILESDIR}/${PN}-0.4.4-cmake_lua_version.patch") + PATCHES+=( + "${FILESDIR}/${PN}-0.4.4-cmake_lua_version.patch" + "${FILESDIR}/${PN}-0.4.4-cmake-darwin.patch" + ) fi src_prepare() { |