mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
app-editors/vim-core: Sync with Gentoo
It's from Gentoo commit 83d72770bcd85405144b4a6ad2b427abc11fe62c.
This commit is contained in:
parent
ec004a70e0
commit
f18b5c09c6
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -29,7 +29,7 @@ IUSE="nls acl minimal"
|
|||||||
|
|
||||||
# ncurses is only needed by ./configure, so no subslot operator required
|
# ncurses is only needed by ./configure, so no subslot operator required
|
||||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||||
BDEPEND="sys-devel/autoconf"
|
BDEPEND="dev-build/autoconf"
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
if [[ ${PV} != 9999* ]]; then
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -29,7 +29,7 @@ IUSE="nls acl minimal"
|
|||||||
|
|
||||||
# ncurses is only needed by ./configure, so no subslot operator required
|
# ncurses is only needed by ./configure, so no subslot operator required
|
||||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||||
BDEPEND="sys-devel/autoconf"
|
BDEPEND="dev-build/autoconf"
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
if [[ ${PV} != 9999* ]]; then
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -29,7 +29,7 @@ IUSE="nls acl minimal"
|
|||||||
|
|
||||||
# ncurses is only needed by ./configure, so no subslot operator required
|
# ncurses is only needed by ./configure, so no subslot operator required
|
||||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||||
BDEPEND="sys-devel/autoconf"
|
BDEPEND="dev-build/autoconf"
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
if [[ ${PV} != 9999* ]]; then
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -29,7 +29,7 @@ IUSE="nls acl minimal"
|
|||||||
|
|
||||||
# ncurses is only needed by ./configure, so no subslot operator required
|
# ncurses is only needed by ./configure, so no subslot operator required
|
||||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||||
BDEPEND="sys-devel/autoconf"
|
BDEPEND="dev-build/autoconf"
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
if [[ ${PV} != 9999* ]]; then
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -29,7 +29,7 @@ IUSE="nls acl minimal"
|
|||||||
|
|
||||||
# ncurses is only needed by ./configure, so no subslot operator required
|
# ncurses is only needed by ./configure, so no subslot operator required
|
||||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||||
BDEPEND="sys-devel/autoconf"
|
BDEPEND="dev-build/autoconf"
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
if [[ ${PV} != 9999* ]]; then
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -29,7 +29,7 @@ IUSE="nls acl minimal"
|
|||||||
|
|
||||||
# ncurses is only needed by ./configure, so no subslot operator required
|
# ncurses is only needed by ./configure, so no subslot operator required
|
||||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||||
BDEPEND="sys-devel/autoconf"
|
BDEPEND="dev-build/autoconf"
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
if [[ ${PV} != 9999* ]]; then
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -16,7 +16,7 @@ if [[ ${PV} == 9999* ]] ; then
|
|||||||
else
|
else
|
||||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
||||||
https://git.sr.ht/~xxc3nsoredxx/vim-patches/refs/download/vim-${VIM_PATCHES_VERSION}-patches/vim-${VIM_PATCHES_VERSION}-patches.tar.xz"
|
https://git.sr.ht/~xxc3nsoredxx/vim-patches/refs/download/vim-${VIM_PATCHES_VERSION}-patches/vim-${VIM_PATCHES_VERSION}-patches.tar.xz"
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||||
fi
|
fi
|
||||||
S="${WORKDIR}/vim-${PV}"
|
S="${WORKDIR}/vim-${PV}"
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ IUSE="nls acl minimal"
|
|||||||
|
|
||||||
# ncurses is only needed by ./configure, so no subslot operator required
|
# ncurses is only needed by ./configure, so no subslot operator required
|
||||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||||
BDEPEND="sys-devel/autoconf"
|
BDEPEND="dev-build/autoconf"
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
if [[ ${PV} != 9999* ]]; then
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
@ -108,6 +108,11 @@ src_prepare() {
|
|||||||
|
|
||||||
# Remove src/auto/configure file.
|
# Remove src/auto/configure file.
|
||||||
rm -v src/auto/configure || die "rm configure failed"
|
rm -v src/auto/configure || die "rm configure failed"
|
||||||
|
|
||||||
|
# bug 908961
|
||||||
|
if use elibc_musl ; then
|
||||||
|
sed -i -e '/ja.sjis/d' src/po/Make_all.mak || die
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -29,7 +29,7 @@ IUSE="nls acl minimal"
|
|||||||
|
|
||||||
# ncurses is only needed by ./configure, so no subslot operator required
|
# ncurses is only needed by ./configure, so no subslot operator required
|
||||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||||
BDEPEND="sys-devel/autoconf"
|
BDEPEND="dev-build/autoconf"
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]]; then
|
if [[ ${PV} != 9999* ]]; then
|
||||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||||
@ -108,6 +108,11 @@ src_prepare() {
|
|||||||
|
|
||||||
# Remove src/auto/configure file.
|
# Remove src/auto/configure file.
|
||||||
rm -v src/auto/configure || die "rm configure failed"
|
rm -v src/auto/configure || die "rm configure failed"
|
||||||
|
|
||||||
|
# bug 908961
|
||||||
|
if use elibc_musl ; then
|
||||||
|
sed -i -e '/ja.sjis/d' src/po/Make_all.mak || die
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
Loading…
Reference in New Issue
Block a user