summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-06-27 09:34:08 +0200
committerTupone Alfredo <tupone@gentoo.org>2017-06-27 09:34:08 +0200
commita58924815dd9dd082393b58749c94fda026e4b8d (patch)
tree787a67eb037f4ff216426c98880a807d3d721bee /dev-ada
parentdev-ada/gprbuild: Add use flags gnat_2016 & gnat_2017 to 2016 version too (diff)
downloadgentoo-a58924815dd9dd082393b58749c94fda026e4b8d.tar.gz
gentoo-a58924815dd9dd082393b58749c94fda026e4b8d.tar.bz2
gentoo-a58924815dd9dd082393b58749c94fda026e4b8d.zip
dev-ada/xmlada: Add use flags gnat_2016 & gnat_2017 to 2016 version
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/xmlada/xmlada-2016.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-ada/xmlada/xmlada-2016.ebuild b/dev-ada/xmlada/xmlada-2016.ebuild
index 4b64587e5d4b..51ef27e6c65e 100644
--- a/dev-ada/xmlada/xmlada-2016.ebuild
+++ b/dev-ada/xmlada/xmlada-2016.ebuild
@@ -15,12 +15,14 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/57399978c7a447658e0affc0 ->
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="+shared static static-pic"
-REQUIRED_USE="|| ( shared static static-pic )"
+IUSE="gnat_2016 gnat_2017 +shared static static-pic"
+REQUIRED_USE="|| ( shared static static-pic )
+ ^^ ( gnat_2016 gnat_2017 )"
-RDEPEND="dev-lang/gnat-gpl:*"
+RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
+ gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )"
DEPEND="${RDEPEND}
- dev-ada/gprbuild"
+ dev-ada/gprbuild[gnat_2016=,gnat_2017=]"
S="${WORKDIR}"/${MYP}-src
@@ -47,5 +49,4 @@ src_install () {
einstalldocs
dodoc features-* known-problems-* xmlada-roadmap.txt
rm "${D}"/usr/share/doc/${PN}/.buildinfo || die
- mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF}/html || die
}