mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-ada/gnatsymbolize: support gcc:16
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
parent
4246fb8e42
commit
3235bfe75d
@ -2,7 +2,7 @@
|
|||||||
# 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
|
||||||
ADA_COMPAT=( gcc_{12..15} )
|
ADA_COMPAT=( gcc_{12..16} )
|
||||||
inherit ada
|
inherit ada
|
||||||
|
|
||||||
MYP=${P}-${PV}0518-19D3B-src
|
MYP=${P}-${PV}0518-19D3B-src
|
||||||
@ -23,6 +23,16 @@ RDEPEND="${ADA_DEPS}"
|
|||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
REQUIRED_USE="${ADA_REQUIRED_USE}"
|
REQUIRED_USE="${ADA_REQUIRED_USE}"
|
||||||
|
|
||||||
|
src_prepare () {
|
||||||
|
if use ada_target_gcc_16; then
|
||||||
|
sed -i \
|
||||||
|
-e "s:Success,:Full, Success,:" \
|
||||||
|
gnatsymbolize.adb \
|
||||||
|
|| die
|
||||||
|
fi
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
gnatmake -v gnatsymbolize -cargs ${ADAFLAGS} -largs ${LDFLAGS} || die
|
gnatmake -v gnatsymbolize -cargs ${ADAFLAGS} -largs ${LDFLAGS} || die
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user