summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-06-23 09:14:58 +0200
committerTupone Alfredo <tupone@gentoo.org>2017-06-23 09:14:58 +0200
commit04e050dc1247045aafc2b06d345b9daa83fab6b2 (patch)
tree614f23337bbf023bc1223432b54ef230c3f25c79 /dev-ada/gtkada
parentx11-base/xorg-drivers: Add video_cards_vc4 and dep on xorg-server[glamor]. (diff)
downloadgentoo-04e050dc1247045aafc2b06d345b9daa83fab6b2.tar.gz
gentoo-04e050dc1247045aafc2b06d345b9daa83fab6b2.tar.bz2
gentoo-04e050dc1247045aafc2b06d345b9daa83fab6b2.zip
dev-ada/gtkada: Use as C compiler the same version as the ada one
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ada/gtkada')
-rw-r--r--dev-ada/gtkada/files/gtkada-2016-gentoo.patch2
-rw-r--r--dev-ada/gtkada/gtkada-17.0.ebuild4
-rw-r--r--dev-ada/gtkada/gtkada-2016.ebuild4
-rw-r--r--dev-ada/gtkada/gtkada-9999.ebuild4
4 files changed, 7 insertions, 7 deletions
diff --git a/dev-ada/gtkada/files/gtkada-2016-gentoo.patch b/dev-ada/gtkada/files/gtkada-2016-gentoo.patch
index c740aab39ff1..a9550fe883f3 100644
--- a/dev-ada/gtkada/files/gtkada-2016-gentoo.patch
+++ b/dev-ada/gtkada/files/gtkada-2016-gentoo.patch
@@ -4,7 +4,7 @@
for Switches ("C") use ("-O2");
end case;
-+ for Driver ("C") use External ("CC", "gcc");
++ 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;
diff --git a/dev-ada/gtkada/gtkada-17.0.ebuild b/dev-ada/gtkada/gtkada-17.0.ebuild
index 69036b3ba7f5..850f59599370 100644
--- a/dev-ada/gtkada/gtkada-17.0.ebuild
+++ b/dev-ada/gtkada/gtkada-17.0.ebuild
@@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="+shared static"
-RDEPEND="dev-lang/gnat-gpl
+RDEPEND="dev-lang/gnat-gpl:*
dev-libs/atk
dev-libs/glib:2
media-libs/fontconfig
@@ -55,7 +55,7 @@ src_configure() {
}
src_compile() {
- emake -j1 PROCESSORS=$(makeopts_jobs)
+ GCC=${GCC} emake -j1 PROCESSORS=$(makeopts_jobs)
}
src_install() {
diff --git a/dev-ada/gtkada/gtkada-2016.ebuild b/dev-ada/gtkada/gtkada-2016.ebuild
index 5ad34dd35b60..8f9e4adc92c9 100644
--- a/dev-ada/gtkada/gtkada-2016.ebuild
+++ b/dev-ada/gtkada/gtkada-2016.ebuild
@@ -17,7 +17,7 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="+shared static"
-RDEPEND="dev-lang/gnat-gpl
+RDEPEND="dev-lang/gnat-gpl:*
dev-libs/atk
dev-libs/glib:2
media-libs/fontconfig
@@ -58,7 +58,7 @@ src_configure() {
}
src_compile() {
- emake -j1 PROCESSORS=$(makeopts_jobs)
+ GCC=${GCC} emake -j1 PROCESSORS=$(makeopts_jobs)
}
src_install() {
diff --git a/dev-ada/gtkada/gtkada-9999.ebuild b/dev-ada/gtkada/gtkada-9999.ebuild
index 9480b380b73a..9d4e1b093c5f 100644
--- a/dev-ada/gtkada/gtkada-9999.ebuild
+++ b/dev-ada/gtkada/gtkada-9999.ebuild
@@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS=""
IUSE="+shared static"
-RDEPEND="dev-lang/gnat-gpl
+RDEPEND="dev-lang/gnat-gpl:*
dev-libs/atk
dev-libs/glib:2
media-libs/fontconfig
@@ -55,7 +55,7 @@ src_configure() {
}
src_compile() {
- emake -j1 PROCESSORS=$(makeopts_jobs)
+ GCC=${GCC} emake -j1 PROCESSORS=$(makeopts_jobs)
}
src_install() {