summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-12-22 21:56:18 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-12-22 21:56:18 +0100
commit65b067b8fd7854b6ae7523b3d0d53ebf534df0aa (patch)
tree47e282bbb2ca36c646ed7d6effcb5727a3dbb53f /dev-ada
parentpackage.mask: drop media-gfx/apngasm mask (diff)
downloadgentoo-65b067b8fd7854b6ae7523b3d0d53ebf534df0aa.tar.gz
gentoo-65b067b8fd7854b6ae7523b3d0d53ebf534df0aa.tar.bz2
gentoo-65b067b8fd7854b6ae7523b3d0d53ebf534df0aa.zip
dev-ada/libadalang: fix building with gnat-gpl-2020
Closes: https://bugs.gentoo.org/829757 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/libadalang/libadalang-22.0.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index 0af159f8bff5..f04b8d93fa0a 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -26,8 +26,9 @@ RDEPEND="dev-python/pyyaml
dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared?,static-libs?,static-pic?]
${ADA_DEPS}
${PYTHON_DEPS}
+ dev-ada/langkit[${ADA_USEDEP},shared?,static-libs?,static-pic?]
$(python_gen_cond_dep '
- dev-ada/langkit[${PYTHON_USEDEP},shared?,static-libs?,static-pic?]
+ dev-ada/langkit[${PYTHON_USEDEP}]
')"
DEPEND="${RDEPEND}
dev-ada/gprbuild[${ADA_USEDEP}]
@@ -61,6 +62,7 @@ src_configure() {
src_compile() {
${EPYTHON} manage.py build -v \
+ --build-mode "prod" \
--gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS}" \
--library-types=${libType} || die
}