summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ada/xmlada/xmlada-2016.ebuild')
-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
}