LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="gnat_2017 +gnat_2018"
+IUSE="+gnat_2018"
RDEPEND="${PYTHON_DEPS}
- dev-ada/gnatcoll-db[gnat_2017=,gnat_2018=,gnatcoll_db2ada,gnatinspect,xref]
- dev-ada/gnatcoll-bindings[gnat_2017=,gnat_2018=,python]
- ~dev-ada/gtkada-2018[gnat_2017=,gnat_2017=]
- dev-ada/libadalang[gnat_2017(-)?,gnat_2018(-)?]
+ dev-ada/gnatcoll-db[gnat_2018=,gnatcoll_db2ada,gnatinspect,xref]
+ dev-ada/gnatcoll-bindings[gnat_2018=,python]
+ ~dev-ada/gtkada-2018[gnat_2018=]
+ ~dev-ada/libadalang-2018[gnat_2018(-)?]
dev-libs/gobject-introspection
dev-libs/libffi
- gnat_2017? ( sys-devel/llvm:5 )
gnat_2018? (
|| (
sys-devel/llvm:6
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
pkg_setup() {
- if use gnat_2017; then
- GCC_PV=6.3.0
- LLVM_MAX_SLOT=5
- else
- GCC_PV=7.3.1
- LLVM_MAX_SLOT=7
- fi
+ GCC_PV=7.3.1
+ LLVM_MAX_SLOT=7
GNATMAKE=gnatmake-${GCC_PV}
GNATDRV=gnat-${GCC_PV}
GNATLS=gnatls-${GCC_PV}
}
src_prepare() {
- GCC_PV=7.3.1
default
sed -i \
-e "s:@GNATMAKE@:${CHOST}-${GNATMAKE}:g" \