diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2017-06-24 15:46:22 +0200 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2017-06-24 15:46:22 +0200 |
commit | bb321bc789c4454f73f7ed939c87092b1d387cd4 (patch) | |
tree | edeee4521b586d1fe4086180adfde2431defabcd /dev-ada/gprbuild | |
parent | sys-kernel/gentoo-sources: Remove old, vulnerable kernel 4.11.X kernel versions (diff) | |
download | gentoo-bb321bc789c4454f73f7ed939c87092b1d387cd4.tar.gz gentoo-bb321bc789c4454f73f7ed939c87092b1d387cd4.tar.bz2 gentoo-bb321bc789c4454f73f7ed939c87092b1d387cd4.zip |
dev-ada/gprbuild: Fix tool description
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ada/gprbuild')
-rw-r--r-- | dev-ada/gprbuild/gprbuild-2017.ebuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-ada/gprbuild/gprbuild-2017.ebuild b/dev-ada/gprbuild/gprbuild-2017.ebuild index 0f7b634ec966..277fb5c5f3f8 100644 --- a/dev-ada/gprbuild/gprbuild-2017.ebuild +++ b/dev-ada/gprbuild/gprbuild-2017.ebuild @@ -30,9 +30,9 @@ REQUIRED_USE="bootstrap? ( !shared !static !static-pic )" PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) pkg_setup() { + GCC=${ADA:-$(tc-getCC)} + gnatbase=$(basename ${GCC}) if use bootstrap; then - GCC=${ADA:-$(tc-getCC)} - gnatbase=$(basename ${GCC}) gnatpath=$(dirname ${GCC}) GNATMAKE="${gnatbase/gcc/gnatmake}" @@ -50,7 +50,6 @@ pkg_setup() { } src_prepare() { - gnatbase=$(basename ${GCC}) GCC_PV=${gnatbase#*gcc-} sed -e "s:@VER@:${GCC_PV}:g" "${FILESDIR}"/${P}.xml > gnat-${GCC_PV}.xml default |