diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2020-04-04 21:17:03 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2020-04-04 21:17:03 +0200 |
commit | cc230d9f771bcbd4628090260a42a24529be834f (patch) | |
tree | b300ab9f981aa120d9bdb1b3b5aa7815b224832f /dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild | |
parent | dev-python/pydecomp-0.3: hppa stable (diff) | |
download | gentoo-cc230d9f771bcbd4628090260a42a24529be834f.tar.gz gentoo-cc230d9f771bcbd4628090260a42a24529be834f.tar.bz2 gentoo-cc230d9f771bcbd4628090260a42a24529be834f.zip |
dev-lang/gnat-gpl: use the toolchain eclass ada facilities
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild')
-rw-r--r-- | dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild index 8a6cf4555b8c..a0efa9b463c1 100644 --- a/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild +++ b/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild @@ -40,7 +40,7 @@ HOMEPAGE="http://libre.adacore.com/" LICENSE+=" GPL-2 GPL-3" SLOT="${TOOLCHAIN_GCC_PV}" KEYWORDS="amd64 x86" -IUSE="+bootstrap" +IUSE="+ada +bootstrap" RESTRICT="!test? ( test )" RDEPEND="!sys-devel/gcc:${TOOLCHAIN_GCC_PV}" @@ -130,18 +130,7 @@ src_prepare() { src_configure() { export PATH=${PWD}/bin:${PATH} downgrade_arch_flags "$(gcc-version)" - toolchain_src_configure \ - --enable-languages=ada \ - --disable-libada -} - -src_compile() { - unset ADAFLAGS - toolchain_src_compile - gcc_do_make "-C gcc gnatlib-shared" - ln -s gcc ../build/prev-gcc || die - ln -s ${CHOST} ../build/prev-${CHOST} || die - gcc_do_make "-C gcc gnattools" + toolchain_src_configure } pkg_postinst() { |