[102108] trunk/dports/lang
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 27 22:22:45 PST 2013
Revision: 102108
https://trac.macports.org/changeset/102108
Author: jeremyhu at macports.org
Date: 2013-01-27 22:22:45 -0800 (Sun, 27 Jan 2013)
Log Message:
-----------
gcc*: Add build dependency on compiler if needed
Modified Paths:
--------------
trunk/dports/lang/gcc43/Portfile
trunk/dports/lang/gcc44/Portfile
trunk/dports/lang/gcc45/Portfile
trunk/dports/lang/gcc46/Portfile
trunk/dports/lang/gcc47/Portfile
trunk/dports/lang/gcc48/Portfile
Modified: trunk/dports/lang/gcc43/Portfile
===================================================================
--- trunk/dports/lang/gcc43/Portfile 2013-01-28 06:20:56 UTC (rev 102107)
+++ trunk/dports/lang/gcc43/Portfile 2013-01-28 06:22:45 UTC (rev 102108)
@@ -119,6 +119,12 @@
compiler.blacklist-append llvm-gcc-4.2
}
+# TODO: base should do this: http://trac.macports.org/ticket/32542
+if {[portconfigure::compiler_is_port ${configure.compiler}]} {
+ depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
+ depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
+}
+
# STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac
# BOOT_CFLAGS="-O2 -g" : from Makefile.tpl
# -std=gnu89 : for building with clang
Modified: trunk/dports/lang/gcc44/Portfile
===================================================================
--- trunk/dports/lang/gcc44/Portfile 2013-01-28 06:20:56 UTC (rev 102107)
+++ trunk/dports/lang/gcc44/Portfile 2013-01-28 06:22:45 UTC (rev 102108)
@@ -120,6 +120,12 @@
compiler.blacklist-append llvm-gcc-4.2
}
+# TODO: base should do this: http://trac.macports.org/ticket/32542
+if {[portconfigure::compiler_is_port ${configure.compiler}]} {
+ depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
+ depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
+}
+
# STAGE1_CFLAGS="-O2 -fkeep-inline-functions" : from configure.ac
# BOOT_CFLAGS="-O2 -g" : from Makefile.tpl
# -std=gnu89 : for building with clang
Modified: trunk/dports/lang/gcc45/Portfile
===================================================================
--- trunk/dports/lang/gcc45/Portfile 2013-01-28 06:20:56 UTC (rev 102107)
+++ trunk/dports/lang/gcc45/Portfile 2013-01-28 06:22:45 UTC (rev 102108)
@@ -128,6 +128,12 @@
compiler.blacklist-append llvm-gcc-4.2
}
+# TODO: base should do this: http://trac.macports.org/ticket/32542
+if {[portconfigure::compiler_is_port ${configure.compiler}]} {
+ depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
+ depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
+}
+
# LTO doesn't work for other targets, see ticket #32863
if {![variant_isset universal] && $build_arch == "x86_64"} {
configure.args-append --enable-lto
Modified: trunk/dports/lang/gcc46/Portfile
===================================================================
--- trunk/dports/lang/gcc46/Portfile 2013-01-28 06:20:56 UTC (rev 102107)
+++ trunk/dports/lang/gcc46/Portfile 2013-01-28 06:22:45 UTC (rev 102108)
@@ -123,6 +123,12 @@
compiler.blacklist-append llvm-gcc-4.2
}
+# TODO: base should do this: http://trac.macports.org/ticket/32542
+if {[portconfigure::compiler_is_port ${configure.compiler}]} {
+ depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
+ depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
+}
+
build.target bootstrap
use_parallel_build yes
Modified: trunk/dports/lang/gcc47/Portfile
===================================================================
--- trunk/dports/lang/gcc47/Portfile 2013-01-28 06:20:56 UTC (rev 102107)
+++ trunk/dports/lang/gcc47/Portfile 2013-01-28 06:22:45 UTC (rev 102108)
@@ -121,6 +121,12 @@
compiler.blacklist-append llvm-gcc-4.2
}
+# TODO: base should do this: http://trac.macports.org/ticket/32542
+if {[portconfigure::compiler_is_port ${configure.compiler}]} {
+ depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
+ depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
+}
+
build.target bootstrap
use_parallel_build yes
Modified: trunk/dports/lang/gcc48/Portfile
===================================================================
--- trunk/dports/lang/gcc48/Portfile 2013-01-28 06:20:56 UTC (rev 102107)
+++ trunk/dports/lang/gcc48/Portfile 2013-01-28 06:22:45 UTC (rev 102108)
@@ -105,6 +105,12 @@
compiler.blacklist-append llvm-gcc-4.2
}
+# TODO: base should do this: http://trac.macports.org/ticket/32542
+if {[portconfigure::compiler_is_port ${configure.compiler}]} {
+ depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
+ depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
+}
+
build.target bootstrap
use_parallel_build yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130127/492ef1c6/attachment.html>
More information about the macports-changes
mailing list