diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2018-04-20 08:24:13 +0200 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2018-04-20 08:24:13 +0200 |
commit | 4dc25e3544841945836b4ce84bb9858df831ceab (patch) | |
tree | 468a4628e4273c29b6523b64535d5015cca17925 /dev-lang/gnat-gpl | |
parent | sys-fs/dfc: version bump 3.1.1 (diff) | |
download | gentoo-4dc25e3544841945836b4ce84bb9858df831ceab.tar.gz gentoo-4dc25e3544841945836b4ce84bb9858df831ceab.tar.bz2 gentoo-4dc25e3544841945836b4ce84bb9858df831ceab.zip |
dev-lang/gnat-gpl: Fix binary install
Closes: https://bugs.gentoo.org/653532
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-lang/gnat-gpl')
-rw-r--r-- | dev-lang/gnat-gpl/gnat-gpl-2016.ebuild | 5 | ||||
-rw-r--r-- | dev-lang/gnat-gpl/gnat-gpl-2017.ebuild | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/dev-lang/gnat-gpl/gnat-gpl-2016.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2016.ebuild index 7015061fac26..46b9e7bbbfd8 100644 --- a/dev-lang/gnat-gpl/gnat-gpl-2016.ebuild +++ b/dev-lang/gnat-gpl/gnat-gpl-2016.ebuild @@ -88,15 +88,16 @@ pkg_setup() { GNATBIND="${path}/${GNATBIND}" CXX="${path}/${CXX}" fi +} + +src_unpack() { if ! use bootstrap && [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then eerror "You need a gcc compiler that provides the Ada Compiler:" eerror "1) use gcc-config to select the right compiler or" eerror "2) set the bootstrap use flag" die "ada compiler not available" fi -} -src_unpack() { GCC_A_FAKEIT="${P}-src.tar.gz ${MYP}.tar.gz ${FSFGCC}.tar.bz2 diff --git a/dev-lang/gnat-gpl/gnat-gpl-2017.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2017.ebuild index dde7fbf04a93..eeaf6193796f 100644 --- a/dev-lang/gnat-gpl/gnat-gpl-2017.ebuild +++ b/dev-lang/gnat-gpl/gnat-gpl-2017.ebuild @@ -70,16 +70,16 @@ pkg_setup() { if [[ ${gnatpath} != "." ]] ; then GNATMAKE="${gnatpath}/${GNATMAKE}" fi +} +src_unpack() { if ! use bootstrap && [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then eerror "You need a gcc compiler that provides the Ada Compiler:" eerror "1) use gcc-config to select the right compiler or" eerror "2) set the bootstrap use flag" die "ada compiler not available" fi -} -src_unpack() { GCC_A_FAKEIT=" ${P}-src.tar.gz ${MYP}.tar.gz |