[98035] trunk/dports/lang
jeremyhu at macports.org
jeremyhu at macports.org
Sun Sep 23 11:04:18 PDT 2012
Revision: 98035
http://trac.macports.org//changeset/98035
Author: jeremyhu at macports.org
Date: 2012-09-23 11:04:18 -0700 (Sun, 23 Sep 2012)
Log Message:
-----------
apple-gcc42, llvm-gcc42: Place a symlink for libstdc++.dylib for older OS versions (#36221).
Modified Paths:
--------------
trunk/dports/lang/apple-gcc42/Portfile
trunk/dports/lang/llvm-gcc42/Portfile
Modified: trunk/dports/lang/apple-gcc42/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc42/Portfile 2012-09-23 17:12:14 UTC (rev 98034)
+++ trunk/dports/lang/apple-gcc42/Portfile 2012-09-23 18:04:18 UTC (rev 98035)
@@ -6,7 +6,7 @@
name apple-gcc42
version 5666.3
set gcc_version 4.2.1
-revision 8
+revision 9
categories lang
platforms darwin
license GPL-2
@@ -233,6 +233,7 @@
# http://trac.macports.org/ticket/35770
delete ${destroot}${prefix}/lib/${name}/gcc/i686-apple-darwin${os.major}/4.2.1/libstdc++.dylib
+ ln -s /usr/lib/libstdc++.6.dylib ${destroot}${prefix}/lib/${name}/gcc/i686-apple-darwin${os.major}/4.2.1/libstdc++.dylib
}
if {[string match "*ppc*" ${build_targets}]} {
@@ -243,6 +244,7 @@
# http://trac.macports.org/ticket/35770
delete ${destroot}${prefix}/lib/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/libstdc++.dylib
+ ln -s /usr/lib/libstdc++.6.dylib ${destroot}${prefix}/lib/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/libstdc++.dylib
}
}
Modified: trunk/dports/lang/llvm-gcc42/Portfile
===================================================================
--- trunk/dports/lang/llvm-gcc42/Portfile 2012-09-23 17:12:14 UTC (rev 98034)
+++ trunk/dports/lang/llvm-gcc42/Portfile 2012-09-23 18:04:18 UTC (rev 98035)
@@ -4,7 +4,7 @@
name llvm-gcc42
version 2.9
-revision 3
+revision 4
categories lang
platforms darwin
license GPL-2+
@@ -132,12 +132,14 @@
# http://trac.macports.org/ticket/35770
delete ${destroot}${prefix}/lib/${name}/gcc/i686-apple-darwin${os.major}/4.2.1/libstdc++.dylib
+ ln -s /usr/lib/libstdc++.6.dylib ${destroot}${prefix}/lib/${name}/gcc/i686-apple-darwin${os.major}/4.2.1/libstdc++.dylib
} else {
file mkdir ${destroot}${prefix}/lib/${name}/gcc/${build_arch}-apple-darwin${os.major}/4.2.1
ln -s ../../../../bin/ld ${destroot}${prefix}/lib/${name}/gcc/${build_arch}-apple-darwin${os.major}/4.2.1/ld
# http://trac.macports.org/ticket/35770
delete ${destroot}${prefix}/lib/${name}/gcc/${build_arch}-apple-darwin${os.major}/4.2.1/libstdc++.dylib
+ ln -s /usr/lib/libstdc++.6.dylib ${destroot}${prefix}/lib/${name}/gcc/${build_arch}-apple-darwin${os.major}/4.2.1/libstdc++.dylib
}
# dont install slibs outside of ${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120923/13db7024/attachment.html>
More information about the macports-changes
mailing list