[110870] trunk/dports/lang
jeremyhu at macports.org
jeremyhu at macports.org
Sun Sep 8 16:42:48 PDT 2013
Revision: 110870
https://trac.macports.org/changeset/110870
Author: jeremyhu at macports.org
Date: 2013-09-08 16:42:48 -0700 (Sun, 08 Sep 2013)
Log Message:
-----------
gcc*: Fix a possible build failure (#40404)
Modified Paths:
--------------
trunk/dports/lang/gcc42/Portfile
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
trunk/dports/lang/gcc49/Portfile
Modified: trunk/dports/lang/gcc42/Portfile
===================================================================
--- trunk/dports/lang/gcc42/Portfile 2013-09-08 23:26:22 UTC (rev 110869)
+++ trunk/dports/lang/gcc42/Portfile 2013-09-08 23:42:48 UTC (rev 110870)
@@ -129,7 +129,7 @@
# Different OS versions (eg: Leopard) or architectures (eg: PPC) don't produce all the dylibs
# https://trac.macports.org/ticket/40098
# https://trac.macports.org/ticket/40100
- if {[file exists ${prefix}/lib/libgcc/${dylib}]} {
+ if {[file exists ${destroot}${prefix}/lib/${name}/${dylib}]} {
delete ${destroot}${prefix}/lib/${name}/${dylib}
ln -s ${prefix}/lib/libgcc/${dylib} ${destroot}${prefix}/lib/${name}/${dylib}
}
Modified: trunk/dports/lang/gcc43/Portfile
===================================================================
--- trunk/dports/lang/gcc43/Portfile 2013-09-08 23:26:22 UTC (rev 110869)
+++ trunk/dports/lang/gcc43/Portfile 2013-09-08 23:42:48 UTC (rev 110870)
@@ -155,7 +155,7 @@
# Different OS versions (eg: Leopard) or architectures (eg: PPC) don't produce all the dylibs
# https://trac.macports.org/ticket/40098
# https://trac.macports.org/ticket/40100
- if {[file exists ${prefix}/lib/libgcc/${dylib}]} {
+ if {[file exists ${destroot}${prefix}/lib/${name}/${dylib}]} {
delete ${destroot}${prefix}/lib/${name}/${dylib}
ln -s ${prefix}/lib/libgcc/${dylib} ${destroot}${prefix}/lib/${name}/${dylib}
}
Modified: trunk/dports/lang/gcc44/Portfile
===================================================================
--- trunk/dports/lang/gcc44/Portfile 2013-09-08 23:26:22 UTC (rev 110869)
+++ trunk/dports/lang/gcc44/Portfile 2013-09-08 23:42:48 UTC (rev 110870)
@@ -160,7 +160,7 @@
# Different OS versions (eg: Leopard) or architectures (eg: PPC) don't produce all the dylibs
# https://trac.macports.org/ticket/40098
# https://trac.macports.org/ticket/40100
- if {[file exists ${prefix}/lib/libgcc/${dylib}]} {
+ if {[file exists ${destroot}${prefix}/lib/${name}/${dylib}]} {
delete ${destroot}${prefix}/lib/${name}/${dylib}
ln -s ${prefix}/lib/libgcc/${dylib} ${destroot}${prefix}/lib/${name}/${dylib}
}
Modified: trunk/dports/lang/gcc45/Portfile
===================================================================
--- trunk/dports/lang/gcc45/Portfile 2013-09-08 23:26:22 UTC (rev 110869)
+++ trunk/dports/lang/gcc45/Portfile 2013-09-08 23:42:48 UTC (rev 110870)
@@ -241,7 +241,7 @@
# Different OS versions (eg: Leopard) or architectures (eg: PPC) don't produce all the dylibs
# https://trac.macports.org/ticket/40098
# https://trac.macports.org/ticket/40100
- if {[file exists ${prefix}/lib/libgcc/${dylib}]} {
+ if {[file exists ${destroot}${prefix}/lib/${name}/${dylib}]} {
delete ${destroot}${prefix}/lib/${name}/${dylib}
ln -s ${prefix}/lib/libgcc/${dylib} ${destroot}${prefix}/lib/${name}/${dylib}
}
Modified: trunk/dports/lang/gcc46/Portfile
===================================================================
--- trunk/dports/lang/gcc46/Portfile 2013-09-08 23:26:22 UTC (rev 110869)
+++ trunk/dports/lang/gcc46/Portfile 2013-09-08 23:42:48 UTC (rev 110870)
@@ -152,7 +152,7 @@
# Different OS versions (eg: Leopard) or architectures (eg: PPC) don't produce all the dylibs
# https://trac.macports.org/ticket/40098
# https://trac.macports.org/ticket/40100
- if {[file exists ${prefix}/lib/libgcc/${dylib}]} {
+ if {[file exists ${destroot}${prefix}/lib/${name}/${dylib}]} {
delete ${destroot}${prefix}/lib/${name}/${dylib}
ln -s ${prefix}/lib/libgcc/${dylib} ${destroot}${prefix}/lib/${name}/${dylib}
}
Modified: trunk/dports/lang/gcc47/Portfile
===================================================================
--- trunk/dports/lang/gcc47/Portfile 2013-09-08 23:26:22 UTC (rev 110869)
+++ trunk/dports/lang/gcc47/Portfile 2013-09-08 23:42:48 UTC (rev 110870)
@@ -151,7 +151,7 @@
# Different OS versions (eg: Leopard) or architectures (eg: PPC) don't produce all the dylibs
# https://trac.macports.org/ticket/40098
# https://trac.macports.org/ticket/40100
- if {[file exists ${prefix}/lib/libgcc/${dylib}]} {
+ if {[file exists ${destroot}${prefix}/lib/${name}/${dylib}]} {
delete ${destroot}${prefix}/lib/${name}/${dylib}
ln -s ${prefix}/lib/libgcc/${dylib} ${destroot}${prefix}/lib/${name}/${dylib}
}
Modified: trunk/dports/lang/gcc48/Portfile
===================================================================
--- trunk/dports/lang/gcc48/Portfile 2013-09-08 23:26:22 UTC (rev 110869)
+++ trunk/dports/lang/gcc48/Portfile 2013-09-08 23:42:48 UTC (rev 110870)
@@ -203,7 +203,7 @@
# Different OS versions (eg: Leopard) or architectures (eg: PPC) don't produce all the dylibs
# https://trac.macports.org/ticket/40098
# https://trac.macports.org/ticket/40100
- if {[file exists ${prefix}/lib/libgcc/${dylib}]} {
+ if {[file exists ${destroot}${prefix}/lib/${name}/${dylib}]} {
delete ${destroot}${prefix}/lib/${name}/${dylib}
ln -s ${prefix}/lib/libgcc/${dylib} ${destroot}${prefix}/lib/${name}/${dylib}
}
Modified: trunk/dports/lang/gcc49/Portfile
===================================================================
--- trunk/dports/lang/gcc49/Portfile 2013-09-08 23:26:22 UTC (rev 110869)
+++ trunk/dports/lang/gcc49/Portfile 2013-09-08 23:42:48 UTC (rev 110870)
@@ -204,7 +204,7 @@
# Different OS versions (eg: Leopard) or architectures (eg: PPC) don't produce all the dylibs
# https://trac.macports.org/ticket/40098
# https://trac.macports.org/ticket/40100
- if {[file exists ${prefix}/lib/libgcc/${dylib}]} {
+ if {[file exists ${destroot}${prefix}/lib/${name}/${dylib}]} {
delete ${destroot}${prefix}/lib/${name}/${dylib}
ln -s ${prefix}/lib/libgcc/${dylib} ${destroot}${prefix}/lib/${name}/${dylib}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130908/7318b195/attachment.html>
More information about the macports-changes
mailing list