summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-06-21 22:34:37 +0200
committerAlfredo Tupone <tupone@gentoo.org>2021-06-21 22:34:37 +0200
commitdd85fc72ef380a6bd87457d16a2fa9e562366f1f (patch)
treecb9a401e0976e835bc4db829d82f9dcc10d46fd3 /dev-lang/spark/spark-2021.ebuild
parentdev-lua/md5: drop stabilize-allarches (diff)
downloadgentoo-dd85fc72ef380a6bd87457d16a2fa9e562366f1f.tar.gz
gentoo-dd85fc72ef380a6bd87457d16a2fa9e562366f1f.tar.bz2
gentoo-dd85fc72ef380a6bd87457d16a2fa9e562366f1f.zip
dev-lang/spark: patch gnatls command
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-lang/spark/spark-2021.ebuild')
-rw-r--r--dev-lang/spark/spark-2021.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lang/spark/spark-2021.ebuild b/dev-lang/spark/spark-2021.ebuild
index 01b830534810..9c090883d172 100644
--- a/dev-lang/spark/spark-2021.ebuild
+++ b/dev-lang/spark/spark-2021.ebuild
@@ -36,6 +36,8 @@ REQUIRED_USE="${ADA_REQUIRED_USE}"
S="${WORKDIR}"/${MYP}
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
pkg_setup() {
ada_pkg_setup
python-any-r1_pkg_setup
@@ -44,6 +46,9 @@ pkg_setup() {
src_prepare() {
ln -sf "${WORKDIR}"/${GNATDIR}/src/ada gnat2why/gnat_src || die
default
+ sed -i \
+ -e "s:gnatls:${GNATLS}:g" \
+ src/gnatprove/configuration.adb || die
}
src_compile() {