dev-lang/gnat-gpl: Fix compiler description for gprbuild
authorTupone Alfredo <tupone@gentoo.org>
Tue, 20 Jun 2017 07:47:31 +0000 (09:47 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Tue, 20 Jun 2017 07:47:31 +0000 (09:47 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.1

dev-lang/gnat-gpl/gnat-gpl-2017.ebuild

index 0cddce16ba0034dc59701109ff228211d0bff5d3..2dc7360a8d3ec6d317dc4339a62a1fe64b8e1644 100644 (file)
@@ -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++}"