diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2017-05-24 22:50:02 +0200 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2017-05-24 22:50:02 +0200 |
commit | 63927e234ac4cb59f931a8c63f4a386eae7cecb1 (patch) | |
tree | 4f545e702b10c8d4e5c05f98b0242ccde2ce6340 /dev-lang/gnat-gpl | |
parent | dev-lang/duktape: New package, ebuild by me (diff) | |
download | gentoo-63927e234ac4cb59f931a8c63f4a386eae7cecb1.tar.gz gentoo-63927e234ac4cb59f931a8c63f4a386eae7cecb1.tar.bz2 gentoo-63927e234ac4cb59f931a8c63f4a386eae7cecb1.zip |
dev-lang/gnat-gpl: Fix build when current compiler is gcc-6
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-lang/gnat-gpl')
-rw-r--r-- | dev-lang/gnat-gpl/gnat-gpl-2016.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-lang/gnat-gpl/gnat-gpl-2016.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2016.ebuild index 3319b3a8b9a4..5f8e52f2347e 100644 --- a/dev-lang/gnat-gpl/gnat-gpl-2016.ebuild +++ b/dev-lang/gnat-gpl/gnat-gpl-2016.ebuild @@ -61,12 +61,14 @@ pkg_setup() { fi CC=${GCC} local base=$(basename ${GCC}) + CXX="${base/gcc/g++}" GNATMAKE="${base/gcc/gnatmake}" GNATBIND="${base/gcc/gnatbind}" if [[ ${base} != ${GCC} ]] ; then local path=$(dirname ${GCC}) GNATMAKE="${path}/${GNATMAKE}" GNATBIND="${path}/${GNATBIND}" + CXX="${path}/${CXX}" fi if ! use bootstrap && [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then eerror "You need a gcc compiler that provides the Ada Compiler:" |