From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 63F6C139694 for ; Wed, 24 May 2017 20:50:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A56D21C07D; Wed, 24 May 2017 20:50:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6975021C07D for ; Wed, 24 May 2017 20:50:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E4FA33BF1C for ; Wed, 24 May 2017 20:50:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 989BA4EBE for ; Wed, 24 May 2017 20:50:44 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1495659002.63927e234ac4cb59f931a8c63f4a386eae7cecb1.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gpl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/gnat-gpl/gnat-gpl-2016.ebuild X-VCS-Directories: dev-lang/gnat-gpl/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 63927e234ac4cb59f931a8c63f4a386eae7cecb1 X-VCS-Branch: master Date: Wed, 24 May 2017 20:50:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d917ff27-d849-4719-af58-ecbb3a08204a X-Archives-Hash: 27bb84a72c49646af557951dc067179a commit: 63927e234ac4cb59f931a8c63f4a386eae7cecb1 Author: Tupone Alfredo gentoo org> AuthorDate: Wed May 24 20:50:02 2017 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Wed May 24 20:50:02 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63927e23 dev-lang/gnat-gpl: Fix build when current compiler is gcc-6 Package-Manager: Portage-2.3.5, Repoman-2.3.1 dev-lang/gnat-gpl/gnat-gpl-2016.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-lang/gnat-gpl/gnat-gpl-2016.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2016.ebuild index 3319b3a8b9a..5f8e52f2347 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:"