summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-01-02 11:51:49 +0100
committerAlfredo Tupone <tupone@gentoo.org>2022-01-02 11:51:49 +0100
commit50622c72f2937cc924317839dc11972fee54c0d4 (patch)
tree383360a2011ba10355a1064913771b25b0c55ec3 /dev-ada
parentprofiles/updates: fix OldPackageUpdate for dev-python/python-fcl (diff)
downloadgentoo-50622c72f2937cc924317839dc11972fee54c0d4.tar.gz
gentoo-50622c72f2937cc924317839dc11972fee54c0d4.tar.bz2
gentoo-50622c72f2937cc924317839dc11972fee54c0d4.zip
dev-ada/ada_language_server: install a missing library
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/ada_language_server/ada_language_server-22.0.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-ada/ada_language_server/ada_language_server-22.0.0.ebuild b/dev-ada/ada_language_server/ada_language_server-22.0.0.ebuild
index 47646aeec83f..065884930e2a 100644
--- a/dev-ada/ada_language_server/ada_language_server-22.0.0.ebuild
+++ b/dev-ada/ada_language_server/ada_language_server-22.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -46,11 +46,17 @@ src_compile() {
gprbuild -v -j$(makeopts_jobs) -P gnat/lsp_client.gpr -p \
-XLIBRARY_TYPE=relocatable \
-cargs:Ada ${ADAFLAGS} || die
+ gprbuild -v -j$(makeopts_jobs) -P gnat/lsp_client_glib.gpr -p \
+ -XLIBRARY_TYPE=relocatable \
+ -cargs:Ada ${ADAFLAGS} || die
mkdir -p integration/vscode/ada/linux
cp -f .obj/server/ada_language_server integration/vscode/ada/linux || die
}
src_install() {
emake install DESTDIR="${D}"/usr
+ gprinstall -f -P gnat/lsp_client_glib.gpr -p -r --mode=dev \
+ --prefix="${D}"/usr -XBUILD_MODE=dev -XLIBRARY_TYPE=relocatable || die
+
einstalldocs
}