[110973] trunk/base/src/macports1.0/macports.tcl
jeremyhu at macports.org
jeremyhu at macports.org
Wed Sep 11 23:23:07 PDT 2013
Revision: 110973
https://trac.macports.org/changeset/110973
Author: jeremyhu at macports.org
Date: 2013-09-11 23:23:07 -0700 (Wed, 11 Sep 2013)
Log Message:
-----------
Check cxx_stdlib with rev-upgrade
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2013-09-12 03:31:06 UTC (rev 110972)
+++ trunk/base/src/macports1.0/macports.tcl 2013-09-12 06:23:07 UTC (rev 110973)
@@ -4451,6 +4451,17 @@
continue;
}
+ if {(${filepath} == "/usr/lib/libstdc++.6.dylib" && ${macports::cxx_stdlib} == "libc++") ||
+ (${filepath} == "/usr/lib/libc++.1.dylib" && ${macports::cxx_stdlib} == "libstdc++")} {
+
+ ui_info "Incorrect C++ linkage against ${filepath} (referenced from $bpath)"
+ ui_debug "Marking $bpath as broken"
+ lappend broken_files $bpath
+
+ set loadcommand [$loadcommand cget -next]
+ continue;
+ }
+
set libresultlist [machista::parse_file $handle $filepath]
set libreturncode [lindex $libresultlist 0]
set libresult [lindex $libresultlist 1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130911/1287ea6e/attachment.html>
More information about the macports-changes
mailing list