mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 09:01:55 +02:00
dev-debug/gdb: Sync with Gentoo
It's from Gentoo commit 13f730c14669d06d45748037511237cf1833592d.
This commit is contained in:
parent
92c655c3bb
commit
98f3d6556f
@ -8,7 +8,7 @@ EAPI=8
|
|||||||
|
|
||||||
GUILE_COMPAT=( 2-2 3-0 )
|
GUILE_COMPAT=( 2-2 3-0 )
|
||||||
PYTHON_COMPAT=( python3_{10..13} )
|
PYTHON_COMPAT=( python3_{10..13} )
|
||||||
inherit flag-o-matic guile-single python-single-r1 strip-linguas toolchain-funcs
|
inherit flag-o-matic guile-single linux-info python-single-r1 strip-linguas toolchain-funcs
|
||||||
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
export CTARGET=${CTARGET:-${CHOST}}
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="cet debuginfod guile lzma multitarget nls +python +server sim source-highlight test vanilla xml xxhash zstd"
|
IUSE="cet debuginfod guile lzma multitarget nls +python +server sim source-highlight test vanilla xml xxhash zstd"
|
||||||
if [[ -n ${REGULAR_RELEASE} ]] ; then
|
if [[ -n ${REGULAR_RELEASE} ]] ; then
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||||
fi
|
fi
|
||||||
REQUIRED_USE="
|
REQUIRED_USE="
|
||||||
guile? ( ${GUILE_REQUIRED_USE} )
|
guile? ( ${GUILE_REQUIRED_USE} )
|
||||||
@ -126,6 +126,20 @@ PATCHES=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
|
local CONFIG_CHECK
|
||||||
|
|
||||||
|
if kernel_is -ge 6.11.3 ; then
|
||||||
|
# https://forums.gentoo.org/viewtopic-p-8846891.html
|
||||||
|
#
|
||||||
|
# Either CONFIG_PROC_MEM_ALWAYS_FORCE or CONFIG_PROC_MEM_FORCE_PTRACE
|
||||||
|
# should be okay, but not CONFIG_PROC_MEM_NO_FORCE.
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~!PROC_MEM_NO_FORCE
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
linux-info_pkg_setup
|
||||||
|
|
||||||
use guile && guile-single_pkg_setup
|
use guile && guile-single_pkg_setup
|
||||||
use python && python-single-r1_pkg_setup
|
use python && python-single-r1_pkg_setup
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="cet debuginfod guile lzma multitarget nls +python +server sim source-highlight test vanilla xml xxhash zstd"
|
IUSE="cet debuginfod guile lzma multitarget nls +python +server sim source-highlight test vanilla xml xxhash zstd"
|
||||||
if [[ -n ${REGULAR_RELEASE} ]] ; then
|
if [[ -n ${REGULAR_RELEASE} ]] ; then
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||||
fi
|
fi
|
||||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
|
@ -8,7 +8,7 @@ EAPI=8
|
|||||||
|
|
||||||
GUILE_COMPAT=( 2-2 3-0 )
|
GUILE_COMPAT=( 2-2 3-0 )
|
||||||
PYTHON_COMPAT=( python3_{10..13} )
|
PYTHON_COMPAT=( python3_{10..13} )
|
||||||
inherit flag-o-matic guile-single python-single-r1 strip-linguas toolchain-funcs
|
inherit flag-o-matic guile-single linux-info python-single-r1 strip-linguas toolchain-funcs
|
||||||
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
export CTARGET=${CTARGET:-${CHOST}}
|
||||||
|
|
||||||
@ -126,6 +126,20 @@ PATCHES=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
|
local CONFIG_CHECK
|
||||||
|
|
||||||
|
if kernel_is -ge 6.11.3 ; then
|
||||||
|
# https://forums.gentoo.org/viewtopic-p-8846891.html
|
||||||
|
#
|
||||||
|
# Either CONFIG_PROC_MEM_ALWAYS_FORCE or CONFIG_PROC_MEM_FORCE_PTRACE
|
||||||
|
# should be okay, but not CONFIG_PROC_MEM_NO_FORCE.
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~!PROC_MEM_NO_FORCE
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
linux-info_pkg_setup
|
||||||
|
|
||||||
use guile && guile-single_pkg_setup
|
use guile && guile-single_pkg_setup
|
||||||
use python && python-single-r1_pkg_setup
|
use python && python-single-r1_pkg_setup
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user