Skip to content

Commit

Permalink
dev-ada/gps: It works for gnat_2016 now
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Tupone <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
atupone committed Nov 17, 2018
1 parent 7810d0e commit 8d83d74
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dev-ada/gps/gps-2017.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RDEPEND="${PYTHON_DEPS}
DEPEND="${RDEPEND}"

REQUIRED_USE="${PYTHON_REQUIRED_USE}
!gnat_2016 gnat_2017 !gnat_2018"
^^ ( gnat_2016 gnat_2017 ) !gnat_2018"

RESTRICT="test"

Expand All @@ -44,7 +44,11 @@ PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )

src_prepare() {
default
GCC_PV=6.3.0
if use gnat_2016; then
GCC_PV=4.9.4
else
GCC_PV=6.3.0
fi
mv configure.{in,ac} || die
sed -i \
-e "s:@GNATMAKE@:${CHOST}-gnatmake-${GCC_PV}:g" \
Expand Down

0 comments on commit 8d83d74

Please sign in to comment.