* [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gcc/
@ 2015-09-02 12:23 George Shapovalov
0 siblings, 0 replies; 5+ messages in thread
From: George Shapovalov @ 2015-09-02 12:23 UTC (permalink / raw
To: gentoo-commits
commit: 12dc193801fc938bb00bfe3b6a215383fa877532
Author: George Shapovalov <george <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 31 12:24:34 2015 +0000
Commit: George Shapovalov <george <AT> gentoo <DOT> org>
CommitDate: Wed Sep 2 12:22:13 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12dc1938
cleaned up ebuild to correspond to latest requirements; added EAPI in prep for gnatbuild.eclass cleanup
Package-Manager: portage-2.2.20.1
dev-lang/gnat-gcc/gnat-gcc-3.4.6.ebuild | 3 ++-
dev-lang/gnat-gcc/gnat-gcc-4.1.2.ebuild | 3 ++-
dev-lang/gnat-gcc/gnat-gcc-4.2.3.ebuild | 3 ++-
dev-lang/gnat-gcc/gnat-gcc-4.3.5.ebuild | 7 ++++---
dev-lang/gnat-gcc/gnat-gcc-4.3.6.ebuild | 7 ++++---
dev-lang/gnat-gcc/gnat-gcc-4.4.7.ebuild | 3 ++-
dev-lang/gnat-gcc/gnat-gcc-4.5.4.ebuild | 3 ++-
dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild | 3 ++-
8 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/dev-lang/gnat-gcc/gnat-gcc-3.4.6.ebuild b/dev-lang/gnat-gcc/gnat-gcc-3.4.6.ebuild
index 46fa3d4..596ca12 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-3.4.6.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-3.4.6.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI=5
WANT_AUTOCONF=2.1
inherit gnatbuild
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.1.2.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.1.2.ebuild
index b5f5504..025d74a 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.1.2.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.1.2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI=5
inherit gnatbuild
DESCRIPTION="GNAT Ada Compiler - gcc version"
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.2.3.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.2.3.ebuild
index 8d70530..03ee0e9 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.2.3.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.2.3.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI=5
inherit gnatbuild
DESCRIPTION="GNAT Ada Compiler - gcc version"
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.3.5.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.3.5.ebuild
index 2a452cc..dbe6749 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.3.5.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.3.5.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# Need to let configure know where to find stddef.h
#EXTRA_CONFGCC="${WORKDIR}/usr/lib/include/"
+EAPI=5
inherit gnatbuild
DESCRIPTION="GNAT Ada Compiler - gcc version"
@@ -28,9 +29,9 @@ SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
KEYWORDS="amd64 ~ppc x86"
# starting with 4.3.0 gnat needs these libs
-DEPEND=">=dev-libs/mpfr-2.3.1
+DEPEND=">=dev-libs/mpfr-2.3.1:*
<sys-apps/texinfo-5.1
- >=dev-libs/gmp-4.2.2"
+ >=dev-libs/gmp-4.2.2:*"
RDEPEND="${DEPEND}"
#QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.3.6.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.3.6.ebuild
index 4c74fe9..c71fa02 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.3.6.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.3.6.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI=5
inherit gnatbuild
DESCRIPTION="GNAT Ada Compiler - gcc version"
@@ -22,10 +23,10 @@ SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
KEYWORDS="amd64 ~ppc x86"
# starting with 4.3.0 gnat needs these libs
-RDEPEND=">=dev-libs/mpfr-2.3.1
- >=dev-libs/gmp-4.2.2
+RDEPEND=">=dev-libs/mpfr-2.3.1:*
+ >=dev-libs/gmp-4.2.2:*
>=sys-libs/zlib-1.1.4
- >=sys-libs/ncurses-5.2-r2"
+ >=sys-libs/ncurses-5.2-r2:*"
DEPEND="${RDEPEND}
<sys-apps/texinfo-5.1
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.4.7.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.4.7.ebuild
index ff879dc..fc673b6 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.4.7.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.4.7.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI=5
inherit gnatbuild
DESCRIPTION="GNAT Ada Compiler - gcc version"
@@ -27,7 +28,7 @@ KEYWORDS="~amd64 ~x86"
RDEPEND=">=dev-libs/mpfr-3.0.1
>=dev-libs/gmp-5.0
>=sys-libs/zlib-1.2
- >=sys-libs/ncurses-5.7"
+ >=sys-libs/ncurses-5.7:*"
DEPEND="${RDEPEND}
<sys-apps/texinfo-5.1
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.5.4.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.5.4.ebuild
index a98df86..e97a639 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.5.4.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.5.4.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI=5
inherit gnatbuild
DESCRIPTION="GNAT Ada Compiler - gcc version"
@@ -27,7 +28,7 @@ KEYWORDS="amd64 x86"
RDEPEND=">=dev-libs/mpfr-3.0.1
>=dev-libs/gmp-5.0
>=sys-libs/zlib-1.2
- >=sys-libs/ncurses-5.7"
+ >=sys-libs/ncurses-5.7:*"
DEPEND="${RDEPEND}
doc? ( sys-apps/texinfo )
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild
index b987907..4346623 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI=5
inherit gnatbuild
DESCRIPTION="GNAT Ada Compiler - gcc version"
@@ -28,7 +29,7 @@ RDEPEND=">=dev-libs/mpfr-3.1.2
>=dev-libs/gmp-5.1.3
>=dev-libs/mpc-1.0.1
>=sys-libs/zlib-1.2
- >=sys-libs/ncurses-5.7"
+ >=sys-libs/ncurses-5.7:*"
DEPEND="${RDEPEND}
doc? ( >=sys-apps/texinfo-5 )
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gcc/
@ 2015-09-03 6:30 George Shapovalov
0 siblings, 0 replies; 5+ messages in thread
From: George Shapovalov @ 2015-09-03 6:30 UTC (permalink / raw
To: gentoo-commits
commit: 603123ee43212d6c088d9bf5f55d0dd34fcaa388
Author: George Shapovalov <george <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 3 06:29:53 2015 +0000
Commit: George Shapovalov <george <AT> gentoo <DOT> org>
CommitDate: Thu Sep 3 06:29:53 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603123ee
dev-lang/gnat-gcc: fixed ncurses SLOT dep to :0
As per discussion on -dev list. Also revbumped to updated VDB.
Acked-by: hasufell <hasufell <AT> gentoo.org>
Package-Manager: portage-2.2.20.1
dev-lang/gnat-gcc/gnat-gcc-4.3.6-r1.ebuild | 65 +++++++++++++++++++++++++
dev-lang/gnat-gcc/gnat-gcc-4.4.7-r1.ebuild | 64 +++++++++++++++++++++++++
dev-lang/gnat-gcc/gnat-gcc-4.5.4-r1.ebuild | 76 ++++++++++++++++++++++++++++++
dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild | 62 ++++++++++++++++++++++++
4 files changed, 267 insertions(+)
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.3.6-r1.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.3.6-r1.ebuild
new file mode 100644
index 0000000..19c9a5a
--- /dev/null
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.3.6-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnatbuild
+
+DESCRIPTION="GNAT Ada Compiler - gcc version"
+HOMEPAGE="https://gcc.gnu.org/"
+LICENSE="GMGPL"
+
+IUSE="doc lto" # doc and lto from gnatbuild.eclass
+
+# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
+# so the URI's are static.
+SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
+ ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
+ amd64? ( https://dev.gentoo.org/~george/src/gnatboot-${SLOT}-amd64.tar.bz2 )
+ x86? ( https://dev.gentoo.org/~george/src/gnatboot-${SLOT}-i686.tar.bz2 )
+ ppc? ( https://dev.gentoo.org/~george/src/gnatboot-4.1-ppc.tar.bz2 )"
+# sparc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-sparc.tar.bz2 )
+
+KEYWORDS="~amd64 ~ppc ~x86"
+
+# starting with 4.3.0 gnat needs these libs
+RDEPEND=">=dev-libs/mpfr-2.3.1:*
+ >=dev-libs/gmp-4.2.2:*
+ >=sys-libs/zlib-1.1.4
+ >=sys-libs/ncurses-5.2-r2:0"
+
+DEPEND="${RDEPEND}
+ <sys-apps/texinfo-5.1
+ >=sys-devel/bison-1.875
+ >=sys-libs/glibc-2.8
+ >=sys-devel/binutils-2.15.94"
+
+#QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
+# ${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"
+
+src_unpack() {
+ gnatbuild_src_unpack
+
+ # newly added zlib dir is processed by configure even with
+ # --with-systtem-zlib passed, causing toruble on multilib
+ rm -rf "${S}"/zlib
+
+ #fixup some hardwired flags
+ cd "${S}"/gcc/ada
+
+ # universal gcc -> gnatgcc substitution occasionally produces lines too long
+ # and then build halts on the style check.
+ #
+ # The sed in makegpr.adb is actually not for the line length but rather to
+ # "undo" the fixing, Last3 is matching just that - the last three characters
+ # of the compiler name.
+ sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' makegpr.adb &&
+ sed -i -e 's:and Nam is "gnatgcc":and Nam is "gcc":' osint.ads ||
+ die "reversing [gnat]gcc substitution in comments failed"
+}
+
+src_compile() {
+ # looks like gnatlib_and_tools and gnatlib_shared have become part of
+ # bootstrap
+ gnatbuild_src_compile configure make-tools bootstrap
+}
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.4.7-r1.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.4.7-r1.ebuild
new file mode 100644
index 0000000..e9875e3
--- /dev/null
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.4.7-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnatbuild
+
+DESCRIPTION="GNAT Ada Compiler - gcc version"
+HOMEPAGE="https://gcc.gnu.org/"
+LICENSE="GMGPL"
+
+IUSE=""
+
+BOOT_SLOT="4.3"
+
+# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
+# so the URI's are static.
+SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
+ ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
+ amd64? ( https://dev.gentoo.org/~george/src/gnatboot-${SLOT}-amd64.tar.bz2 )
+ sparc? ( https://dev.gentoo.org/~george/src/gnatboot-${SLOT}-sparc.tar.bz2 )
+ x86? ( https://dev.gentoo.org/~george/src/gnatboot-${SLOT}-i686.tar.bz2 )"
+# ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
+
+KEYWORDS="~amd64 ~x86"
+
+# starting with 4.3.0 gnat needs these libs
+RDEPEND=">=dev-libs/mpfr-3.0.1
+ >=dev-libs/gmp-5.0
+ >=sys-libs/zlib-1.2
+ >=sys-libs/ncurses-5.7:0"
+
+DEPEND="${RDEPEND}
+ <sys-apps/texinfo-5.1
+ >=sys-devel/bison-1.875
+ >=sys-libs/glibc-2.8
+ >=sys-devel/binutils-2.20"
+
+#QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
+# ${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"
+
+src_unpack() {
+ gnatbuild_src_unpack
+
+ #fixup some hardwired flags
+ cd "${S}"/gcc/ada
+
+ # universal gcc -> gnatgcc substitution occasionally produces lines too long
+ # and then build halts on the style check.
+ #
+ sed -i -e 's:and Nam is "gnatgcc":and Nam is "gcc":' osint.ads ||
+ die "reversing [gnat]gcc substitution in comments failed"
+
+ # gcc pretty much ignores --with-system-zlib. At least it still descends
+ # into zlib and does configure and build there (gcc bug@7125?). For whatever
+ # reason this conflicts with multilib in gcc-4.4..
+ sed -i -e "s:libgui zlib:libgui:" "${S}"/configure
+}
+
+src_compile() {
+ # looks like gnatlib_and_tools and gnatlib_shared have become part of
+ # bootstrap
+ gnatbuild_src_compile configure make-tools bootstrap
+}
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.5.4-r1.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.5.4-r1.ebuild
new file mode 100644
index 0000000..fbf8dcc
--- /dev/null
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.5.4-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnatbuild
+
+DESCRIPTION="GNAT Ada Compiler - gcc version"
+HOMEPAGE="https://gcc.gnu.org/"
+LICENSE="GMGPL"
+
+IUSE="doc"
+
+BOOT_SLOT="4.4"
+
+# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
+# so the URI's are static.
+SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
+ ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
+ amd64? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )
+ sparc? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-sparc.tar.bz2 )
+ x86? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-i686.tar.bz2 )"
+# ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
+
+KEYWORDS="~amd64 ~x86"
+
+# starting with 4.3.0 gnat needs these libs
+RDEPEND=">=dev-libs/mpfr-3.0.1
+ >=dev-libs/gmp-5.0
+ >=sys-libs/zlib-1.2
+ >=sys-libs/ncurses-5.7:0"
+
+DEPEND="${RDEPEND}
+ doc? ( sys-apps/texinfo )
+ >=sys-devel/bison-1.875
+ >=sys-libs/glibc-2.8
+ >=sys-devel/binutils-2.20"
+
+#QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
+# ${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"
+
+src_unpack() {
+ gnatbuild_src_unpack
+
+ #fixup some hardwired flags
+ cd "${S}"/gcc/ada
+
+ # universal gcc -> gnatgcc substitution occasionally produces lines too long
+ # and then build halts on the style check.
+ #
+ sed -i -e 's:gnatgcc:gcc:' osint.ads switch.ads ||
+ die "reversing [gnat]gcc substitution in comments failed"
+
+ # gcc pretty much ignores --with-system-zlib. At least it still descends
+ # into zlib and does configure and build there (gcc bug@7125?). For whatever
+ # reason this conflicts with multilib in gcc-4.4..
+ sed -i -e "s:libgui zlib:libgui:" "${S}"/configure
+}
+
+src_compile() {
+ # work-around for downgrading texinfo. See bug #483192
+ if use doc ; then
+ if has_version ">=sys-apps/texinfo-5.1" ; then
+ ewarn "Disabling info docs. Please downgrade texinfo to less than 5.x or"
+ ewarn "use ${PN}-4.6 instead (as upstream has only patched 4.6 and higher)."
+ epatch "${FILESDIR}"/${P}-tex-version-workaround.patch
+ fi
+ else
+ elog "Disabling info docs."
+ epatch "${FILESDIR}"/${P}-tex-version-workaround.patch
+ fi
+
+ # looks like gnatlib_and_tools and gnatlib_shared have become part of
+ # bootstrap
+ gnatbuild_src_compile configure make-tools bootstrap
+}
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild
new file mode 100644
index 0000000..6fa8363
--- /dev/null
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit gnatbuild
+
+DESCRIPTION="GNAT Ada Compiler - gcc version"
+HOMEPAGE="https://gcc.gnu.org/"
+LICENSE="GMGPL"
+
+IUSE="doc lto openmp"
+
+BOOT_SLOT="4.4"
+
+# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
+# so the URI's are static.
+SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
+ ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
+ amd64? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )
+ sparc? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-sparc.tar.bz2 )
+ x86? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-i686.tar.bz2 )"
+# ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
+
+KEYWORDS="~amd64 ~x86"
+
+# starting with 4.3.0 gnat needs these libs
+RDEPEND=">=dev-libs/mpfr-3.1.2
+ >=dev-libs/gmp-5.1.3
+ >=dev-libs/mpc-1.0.1
+ >=sys-libs/zlib-1.2
+ >=sys-libs/ncurses-5.7:0"
+
+DEPEND="${RDEPEND}
+ doc? ( >=sys-apps/texinfo-5 )
+ >=sys-devel/bison-1.875
+ >=sys-libs/glibc-2.8
+ >=sys-devel/binutils-2.20"
+
+src_unpack() {
+ gnatbuild_src_unpack
+
+ #fixup some hardwired flags
+ cd "${S}"/gcc/ada
+
+ # universal gcc -> gnatgcc substitution occasionally produces lines too long
+ # and then build halts on the style check.
+ #
+ sed -i -e 's:gnatgcc:gcc:' osint.ads switch.ads ||
+ die "reversing [gnat]gcc substitution in comments failed"
+
+ # gcc pretty much ignores --with-system-zlib. At least it still descends
+ # into zlib and does configure and build there (gcc bug@7125?). For whatever
+ # reason this conflicts with multilib in gcc-4.4..
+ sed -i -e "s:libgui zlib:libgui:" "${S}"/configure
+}
+
+src_compile() {
+ # looks like gnatlib_and_tools and gnatlib_shared have become part of
+ # bootstrap
+ gnatbuild_src_compile configure make-tools bootstrap
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gcc/
@ 2016-06-26 6:20 Steve Arnold
0 siblings, 0 replies; 5+ messages in thread
From: Steve Arnold @ 2016-06-26 6:20 UTC (permalink / raw
To: gentoo-commits
commit: be1e9771d92ed9d5befe2921c50bc6ed6f37b209
Author: Stephen L Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 06:18:47 2016 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 06:20:02 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be1e9771
dev-lang/gnat-gcc: remove lto use flag, fix headers, sync up gnat-gcc
Package-Manager: portage-2.2.28
dev-lang/gnat-gcc/gnat-gcc-4.3.6-r1.ebuild | 4 ++--
dev-lang/gnat-gcc/gnat-gcc-4.3.6.ebuild | 4 ++--
dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild | 4 ++--
dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild | 4 ++--
dev-lang/gnat-gcc/metadata.xml | 3 ---
5 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.3.6-r1.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.3.6-r1.ebuild
index 19c9a5a..59a48c4 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.3.6-r1.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.3.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -9,7 +9,7 @@ DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="https://gcc.gnu.org/"
LICENSE="GMGPL"
-IUSE="doc lto" # doc and lto from gnatbuild.eclass
+IUSE="doc" # doc from gnatbuild.eclass
# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
# so the URI's are static.
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.3.6.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.3.6.ebuild
index c71fa02..6987df8 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.3.6.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.3.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -9,7 +9,7 @@ DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="https://gcc.gnu.org/"
LICENSE="GMGPL"
-IUSE="doc lto" # doc and lto from gnatbuild.eclass
+IUSE="doc" # doc from gnatbuild.eclass
# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
# so the URI's are static.
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild
index 6fa8363..d610841 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -9,7 +9,7 @@ DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="https://gcc.gnu.org/"
LICENSE="GMGPL"
-IUSE="doc lto openmp"
+IUSE="doc openmp"
BOOT_SLOT="4.4"
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild
index 4346623..73e16fb 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -9,7 +9,7 @@ DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="https://gcc.gnu.org/"
LICENSE="GMGPL"
-IUSE="doc lto openmp"
+IUSE="doc openmp"
BOOT_SLOT="4.4"
diff --git a/dev-lang/gnat-gcc/metadata.xml b/dev-lang/gnat-gcc/metadata.xml
index e4bed84..1d9d866 100644
--- a/dev-lang/gnat-gcc/metadata.xml
+++ b/dev-lang/gnat-gcc/metadata.xml
@@ -9,9 +9,6 @@
<flag name="acats">
Installs ACATS source under LIBPATH.
</flag>
- <flag name="lto">
- Enable Link Time Optimization (somewhat unsafe).
- </flag>
</use>
<longdescription>
GNAT, the (GN)U (A)da (T)oolchain, is a high performance Ada 95 development
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gcc/
@ 2016-06-28 18:03 Steve Arnold
0 siblings, 0 replies; 5+ messages in thread
From: Steve Arnold @ 2016-06-28 18:03 UTC (permalink / raw
To: gentoo-commits
commit: 3823967e03cfca3192cbdfeeeb06149cff7985cc
Author: Stephen L Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 18:02:25 2016 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 18:02:25 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3823967e
dev-lang/gnat-gcc: add missing 4.6 update from the last round of bug
fixes.
This should bring everything in sync again (sorry about that, chief...)
Package-Manager: portage-2.2.28
dev-lang/gnat-gcc/Manifest | 1 +
dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild | 22 +++++++++++++++-------
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/dev-lang/gnat-gcc/Manifest b/dev-lang/gnat-gcc/Manifest
index 2a681b7..713b633 100644
--- a/dev-lang/gnat-gcc/Manifest
+++ b/dev-lang/gnat-gcc/Manifest
@@ -28,6 +28,7 @@ DIST gnatboot-4.3-amd64.tar.bz2 20294401 SHA256 3506500b4cda06eaaf9bb70ec26fbe9b
DIST gnatboot-4.3-i686.tar.bz2 16065767 SHA256 7afbea3216c24dde950d7d511e5fc897db5e5c8099ff4a524048519abc54f0b9 SHA512 5e3efd9e6974f2f47cc61937e5fb347cf27c9bc172b74422612a45dae8f4db89907b2b1ba15a0dad4c9a0fe244d43b99f664c2c23eb7050932747d0768c0c543 WHIRLPOOL 9d1473811aff2e2c45de30ad4557ce7ca4db1c7f38f9ef600cb7cb65823046fcf85a42a208dcb59bac796fc70cbfe3e5eccf9cb141ba3fe5a8178d38e4f0e6db
DIST gnatboot-4.3-sparc.tar.bz2 13065130 SHA256 e234336123fd65c0f73cd25af99dbb439ea08f0286fe7f5b1e05dd414b9878e7 SHA512 4f07c5daccd1e431f43783c8c0001066974356ab92399a72d156c21fd5dacc87a24eb02bec5ddc3a5a31a7682aeb6df44621894d35dead0061b35531dd81782e WHIRLPOOL 71dfdd4cf6463bbfe665d7d211973083f7047f941573804fb3dc03088f386868c2013c789701f26720fdc294a29f77463c8fc8222c9035e0a7dcac61fac35efa
DIST gnatboot-4.4-amd64.tar.bz2 26117669 SHA256 fd6c6ea6e4d57eb178d239a8b1e4d99d6638cb9d7d322c0789b37e8ed6a49b67 SHA512 bf68582e8e8ecc9c4f4dbec90ef47edf10769ca7a2dd197b065f44e5ad1e40b81c44592bb362651654b187ebad972095176509273b5e98edc1a26c2164075d80 WHIRLPOOL 59d714a3ea70dae7c4b9e6d177336810bbb5ea7bcdbe038c7c34d543ef8c45f40d240ecbc58de1b49c88904b245cdd3ef9121bc88fa3bdecf413762f67301cde
+DIST gnatboot-4.4-arm.tar.xz 44033876 SHA256 49969d4f33e0b053ad7e1aaaee9c2f322d660cb4a9453608ff1d7fe54c6fad5d SHA512 1e858982ded20e8fb19bc5983ea5cd0d46460e47fca2b3003dbb6ea52dbd863d25d8f5f684aca885e4fcd647e31214d10f1f04fb30cdd2306d2ade0e676b6e35 WHIRLPOOL 092709cf65432af266bbbc6df56c27f251af1caf1232738badcd5639a7958e6d33ccedf28d6f4c5efa4fff0f7ba04fc8e57578d51aa67452461c98141bf08281
DIST gnatboot-4.4-i686.tar.bz2 17194327 SHA256 1081cdf2514fd1c03b40f0923d0046ffd2886b3bc6eabd217eaa40da1765ba5b SHA512 29a4e32d178f065ceef88efc9bae3bd2b68553e34d485b929e055733ceabdaf172c58ab92f24340d8a46fdbb1565e5f7573b744e3931ed261aaeb488c40501e6 WHIRLPOOL 80987d40ddf7589a74c6280dd687ad442ee7a560c5bb2eece950c50fcf0bfaa38e2befeec72e6fbf2695bb9d89ecfe905cf894152a56b22c7384926a59ce4f11
DIST gnatboot-4.4-sparc.tar.bz2 13962662 SHA256 467fa1da5ee4c769a10b2c870e132e1bf7827688e88860fdd27259e9b258109b SHA512 d02b07824da718d5a3c41a4d5c848b872cecbcf3ec04e59ba922fed0549e1d6901c07122038c286f6627d6f4edb1a71a6e52b8a5e52e8c788d9d51ac96f225b4 WHIRLPOOL 9164527588573ba1b5088c7835e739e3518bbdb099e0b85f205ca7602da87bd20646f8bd9fa12a14417ff18fe90041288be3647ecd900f300cf33621c5fb48fb
DIST gnatboot-4.9-amd64.tar.xz 126692152 SHA256 4d7bfd5f8cb190ea51d6bea37a24aa149b6017093fa3aad9c5831c047a006381 SHA512 da41b0986e2c84ff14da86e4149d19a9429c456b6f6ef2733552e8d09ae1af62d4352cd4d2b892ed36c4a1278c5f8cef3513eafbd52cdd74a26e8d369662160f WHIRLPOOL bad5be4f54728004e1ed60d0440e8eb9d0b2dd64693e401f33c97a7f48026e2086a764c677463bb62cc87885582997fd69a9703133592d473bb5c07f2ad1984a
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild
index d610841..78125ff 100644
--- a/dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.6.4-r1.ebuild
@@ -19,10 +19,11 @@ SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
amd64? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )
sparc? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-sparc.tar.bz2 )
- x86? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-i686.tar.bz2 )"
+ x86? ( https://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-i686.tar.bz2 )
+ arm? ( https://dev.gentoo.org/~nerdboy/files/gnatboot-${BOOT_SLOT}-arm.tar.xz )"
# ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~sparc ~x86"
# starting with 4.3.0 gnat needs these libs
RDEPEND=">=dev-libs/mpfr-3.1.2
@@ -32,14 +33,13 @@ RDEPEND=">=dev-libs/mpfr-3.1.2
>=sys-libs/ncurses-5.7:0"
DEPEND="${RDEPEND}
- doc? ( >=sys-apps/texinfo-5 )
- >=sys-devel/bison-1.875
- >=sys-libs/glibc-2.8
- >=sys-devel/binutils-2.20"
+ doc? ( >=sys-apps/texinfo-5 )"
src_unpack() {
- gnatbuild_src_unpack
+ gnatbuild_src_unpack all
+}
+src_prepare() {
#fixup some hardwired flags
cd "${S}"/gcc/ada
@@ -55,8 +55,16 @@ src_unpack() {
sed -i -e "s:libgui zlib:libgui:" "${S}"/configure
}
+src_configure() {
+ :
+}
+
src_compile() {
# looks like gnatlib_and_tools and gnatlib_shared have become part of
# bootstrap
gnatbuild_src_compile configure make-tools bootstrap
}
+
+src_install() {
+ gnatbuild_src_install all
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gcc/
@ 2017-02-22 10:02 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2017-02-22 10:02 UTC (permalink / raw
To: gentoo-commits
commit: be366e3ced716e9aa4dd0439d359df010c324fed
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 10:01:07 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 10:02:09 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be366e3c
dev-lang/gnat-gcc: Remove disbanded Ada project
dev-lang/gnat-gcc/metadata.xml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dev-lang/gnat-gcc/metadata.xml b/dev-lang/gnat-gcc/metadata.xml
index 1d9d866cea..042a15c382 100644
--- a/dev-lang/gnat-gcc/metadata.xml
+++ b/dev-lang/gnat-gcc/metadata.xml
@@ -1,10 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>ada@gentoo.org</email>
- <name>Gentoo Ada Project</name>
- </maintainer>
+ <!--maintainer-needed-->
<use>
<flag name="acats">
Installs ACATS source under LIBPATH.
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-02-22 10:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-26 6:20 [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gcc/ Steve Arnold
-- strict thread matches above, loose matches on Subject: below --
2017-02-22 10:02 Michał Górny
2016-06-28 18:03 Steve Arnold
2015-09-03 6:30 George Shapovalov
2015-09-02 12:23 George Shapovalov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox