summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-06-20 09:47:31 +0200
committerTupone Alfredo <tupone@gentoo.org>2017-06-20 09:47:31 +0200
commit8a22282ea58c7045d78d57702a1d3ca5134a4974 (patch)
tree531d7265a41285652a27078132a26781bec9f6e5 /dev-lang/gnat-gpl
parentdev-util/cmdtest: bump version (diff)
downloadgentoo-8a22282ea58c7045d78d57702a1d3ca5134a4974.tar.gz
gentoo-8a22282ea58c7045d78d57702a1d3ca5134a4974.tar.bz2
gentoo-8a22282ea58c7045d78d57702a1d3ca5134a4974.zip
dev-lang/gnat-gpl: Fix compiler description for gprbuild
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-2017.ebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev-lang/gnat-gpl/gnat-gpl-2017.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2017.ebuild
index 0cddce16ba00..2dc7360a8d3e 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++}"