commit:     8a22282ea58c7045d78d57702a1d3ca5134a4974
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 20 07:47:31 2017 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jun 20 07:47:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a22282e

dev-lang/gnat-gpl: Fix compiler description for gprbuild

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 dev-lang/gnat-gpl/gnat-gpl-2017.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-lang/gnat-gpl/gnat-gpl-2017.ebuild 
b/dev-lang/gnat-gpl/gnat-gpl-2017.ebuild
index 0cddce16ba0..2dc7360a8d3 100644
--- a/dev-lang/gnat-gpl/gnat-gpl-2017.ebuild
+++ b/dev-lang/gnat-gpl/gnat-gpl-2017.ebuild
@@ -82,9 +82,7 @@ src_unpack() {
 }
 
 src_prepare() {
-       sed "${FILESDIR}"/${PN}.xml \
-               -e "s:@VER@:${PV}:g" \
-               > ${P}.xml || die
+       sed -e "s:@VER@:${TOOLCHAIN_GCC_PV}:g" "${FILESDIR}"/${PN}.xml > 
${P}.xml
 
        CC=${GCC}
        CXX="${gnatbase/gcc/g++}"

Reply via email to