summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-12-19 18:55:44 +0100
committerTupone Alfredo <tupone@gentoo.org>2017-12-19 18:55:44 +0100
commit8bb026d73d60517ed1931cb4665ed2f53fd97039 (patch)
tree5bb3605f5ffeb96b010e3f87b4ca9a3dff97f95d /dev-ada/libadalang
parentapp-crypt/gpgme: drop obsolete hacks for Darwin, shorten socketpath length (diff)
downloadgentoo-8bb026d73d60517ed1931cb4665ed2f53fd97039.tar.gz
gentoo-8bb026d73d60517ed1931cb4665ed2f53fd97039.tar.bz2
gentoo-8bb026d73d60517ed1931cb4665ed2f53fd97039.zip
dev-ada/libadalang: use gnatbind selected by gprbuild
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ada/libadalang')
-rw-r--r--dev-ada/libadalang/libadalang-2017.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-ada/libadalang/libadalang-2017.ebuild b/dev-ada/libadalang/libadalang-2017.ebuild
index 958c5382196e..8e4ed678cb32 100644
--- a/dev-ada/libadalang/libadalang-2017.ebuild
+++ b/dev-ada/libadalang/libadalang-2017.ebuild
@@ -17,7 +17,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed042
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="gnat_2016 gnat_2017"
+IUSE="gnat_2016 +gnat_2017"
RDEPEND="dev-python/pyyaml
${PYTHON_DEPS}"
@@ -28,7 +28,8 @@ DEPEND="${RDEPEND}
dev-python/enum34
dev-python/quex
dev-python/funcy"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ^^ ( gnat_2016 gnat_2017 )"
S="${WORKDIR}"
@@ -41,10 +42,7 @@ src_prepare() {
src_compile() {
cd ${PN}-gps-src
- mkdir bin
- ln -sf /usr/bin/gnatbind-4.9.4 bin/gnatbind
- PATH=$PATH:${PWD}/bin \
- PYTHONPATH=${PYTHONPATH}:"${WORKDIR}"/langkit-gps-src \
+ PYTHONPATH=${PYTHONPATH}:"${WORKDIR}"/langkit-gps-src \
GCC=${CHOST}-gcc-4.9.4 ada/manage.py make || die
}