-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
KEYWORDS="~amd64"
IUSE="+gnat_2016 gnat_2017"
-RDEPEND="dev-ada/xmlada[gnat_2016=,gnat_2017=,static]"
+RDEPEND="dev-ada/xmlada[gnat_2016=,gnat_2017=,static-libs]"
DEPEND="${RDEPEND}
dev-ada/gnat_util[gnat_2016=,gnat_2017=,static]
dev-ada/asis[gnat_2016=,gnat_2017=]
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
KEYWORDS="~amd64"
IUSE="gnat_2016 +gnat_2017"
-RDEPEND="dev-ada/xmlada[gnat_2016=,gnat_2017=,static]"
+RDEPEND="dev-ada/xmlada[gnat_2016=,gnat_2017=,static-libs]"
DEPEND="${RDEPEND}
dev-ada/gnat_util[gnat_2016=,gnat_2017=,static]
dev-ada/asis[gnat_2016=,gnat_2017=]
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
KEYWORDS="~amd64"
IUSE="gnat_2016 +gnat_2017 +shared static static-pic"
-RDEPEND="dev-ada/xmlada[static,gnat_2016=,gnat_2017=]
+RDEPEND="dev-ada/xmlada[static-libs,gnat_2016=,gnat_2017=]
gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )"
DEPEND="${RDEPEND}
<flag name="gnat_2016">Compile with dev-lang/gnat-gpl-2016</flag>
<flag name="gnat_2017">Compile with dev-lang/gnat-gpl-2017</flag>
<flag name="shared">Build shared library</flag>
- <flag name="static">Build static library</flag>
<flag name="static-pic">Build static library with pic code</flag>
</use>
<longdescription lang="en">
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="gnat_2016 +gnat_2017 +shared static static-pic"
-REQUIRED_USE="|| ( shared static static-pic )
+IUSE="gnat_2016 +gnat_2017 +shared static-libs static-pic"
+REQUIRED_USE="|| ( shared static-libs static-pic )
^^ ( gnat_2016 gnat_2017 )"
RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
if use shared; then
build relocatable
fi
- for kind in static static-pic; do
- if use ${kind}; then
- build ${kind}
- fi
- done
+ if use static-libs; then
+ build static
+ fi
+ if use static-pic; then
+ build static-pic
+ fi
}
src_test() {
done
}
- for kind in shared static static-pic; do
+ if use static-libs; then
+ emake PROCESSORS=$(makeopts_jobs) install-static
+ fi
+ for kind in shared static-pic; do
if use ${kind}; then
emake PROCESSORS=$(makeopts_jobs) install-${kind}
fi
if use shared; then
fix_install ${dir} relocatable
fi
- for kind in static static-pic; do
- if use ${kind}; then
- fix_install ${dir} ${kind}
- fi
- done
+ if use static-libs; then
+ fix_install ${dir} static
+ fi
+ if use static-pic; then
+ fix_install ${dir} static-pic
+ fi
done
einstalldocs
dodoc xmlada-roadmap.txt