Skip to content

Commit

Permalink
dev-ada/gtkada: Stabilize 2018 version
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Tupone <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
atupone committed Nov 10, 2018
1 parent 3d6e675 commit 7ce18ab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
11 changes: 0 additions & 11 deletions dev-ada/gtkada/files/gtkada-2017-gentoo.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
--- gtkada-gpl-2015-src/shared.gpr.in.old 2017-01-05 23:28:35.838073270 +0100
+++ gtkada-gpl-2015-src/shared.gpr.in 2017-01-05 23:30:17.752255709 +0100
@@ -44,6 +44,8 @@
for Switches ("C") use ("-O2");
end case;

+ for Driver ("C") use External ("GCC", "gcc");
+ for PIC_Option ("C") use ("-fPIC");
for Switches ("C") use Compiler'Switches ("C") & Gtk_Include;
for Switches ("Objective-C") use Compiler'Switches ("Objective-C") & Gtk_Include;
end Compiler;
--- gtkada-gpl-2016-src/Makefile.in.old 2017-01-21 22:42:18.319969095 +0100
+++ gtkada-gpl-2016-src/Makefile.in 2017-01-21 22:42:33.989700236 +0100
@@ -60,30 +60,33 @@
Expand Down
5 changes: 2 additions & 3 deletions dev-ada/gtkada/gtkada-2017.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand Down Expand Up @@ -48,7 +48,6 @@ src_configure() {
else
GCC_PV=6.3.0
fi
GCC=${CHOST}-gcc-${GCC_PV}
econf \
--prefix="${D}/usr" \
$(use_enable static-libs static) \
Expand All @@ -58,7 +57,7 @@ src_configure() {

src_compile() {
GNATPREP=${CHOST}-gnatprep-${GCC_PV}
GCC=${GCC} emake -j1 GNATPREP=${GNATPREP} PROCESSORS=$(makeopts_jobs)
emake -j1 GNATPREP=${GNATPREP} PROCESSORS=$(makeopts_jobs)
}

src_install() {
Expand Down
7 changes: 3 additions & 4 deletions dev-ada/gtkada/gtkada-2018.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -14,7 +14,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5b0cf840c7a4475261f97ced

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="gnat_2016 gnat_2017 +gnat_2018 +shared static-libs"

RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
Expand Down Expand Up @@ -51,7 +51,6 @@ src_configure() {
else
GCC_PV=4.9.4
fi
GCC=${CHOST}-gcc-${GCC_PV}
econf \
--prefix="${D}/usr" \
$(use_enable static-libs static) \
Expand All @@ -61,7 +60,7 @@ src_configure() {

src_compile() {
GNATPREP=${CHOST}-gnatprep-${GCC_PV}
GCC=${GCC} emake -j1 GNATPREP=${GNATPREP} PROCESSORS=$(makeopts_jobs)
emake -j1 GNATPREP=${GNATPREP} PROCESSORS=$(makeopts_jobs)
}

src_install() {
Expand Down

0 comments on commit 7ce18ab

Please sign in to comment.