mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-ada/gtkada: Stabilize 2018 version
Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
@@ -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 @@
|
||||
|
||||
@@ -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
|
||||
@@ -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) \
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
@@ -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 )
|
||||
@@ -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) \
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user