[97663] trunk/dports/lang/llvm-gcc42/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Sep 10 21:20:44 PDT 2012


Revision: 97663
          https://trac.macports.org/changeset/97663
Author:   jeremyhu at macports.org
Date:     2012-09-10 21:20:42 -0700 (Mon, 10 Sep 2012)
Log Message:
-----------
llvm-gcc42: Remove libstdc++.dylib, see #35770

Modified Paths:
--------------
    trunk/dports/lang/llvm-gcc42/Portfile

Modified: trunk/dports/lang/llvm-gcc42/Portfile
===================================================================
--- trunk/dports/lang/llvm-gcc42/Portfile	2012-09-11 00:18:46 UTC (rev 97662)
+++ trunk/dports/lang/llvm-gcc42/Portfile	2012-09-11 04:20:42 UTC (rev 97663)
@@ -4,7 +4,7 @@
 
 name                    llvm-gcc42
 version                 2.9
-revision                2
+revision                3
 categories              lang
 platforms               darwin
 license                 GPL-2+
@@ -127,11 +127,17 @@
 
     post-destroot {
         if {${build_arch} == "i386" } {
-            file mkdir ${destroot}${prefix}/lib/llvm-gcc42/i686-apple-darwin${os.major}/4.2.1
-            ln -s ../../../../bin/ld ${destroot}${prefix}/lib/llvm-gcc42/i686-apple-darwin${os.major}/4.2.1/ld
+            file mkdir ${destroot}${prefix}/lib/${name}/gcc/i686-apple-darwin${os.major}/4.2.1
+            ln -s ../../../../bin/ld ${destroot}${prefix}/lib/${name}/gcc/i686-apple-darwin${os.major}/4.2.1/ld
+
+            # http://trac.macports.org/ticket/35770
+            delete  ${destroot}${prefix}/lib/${name}/gcc/i686-apple-darwin${os.major}/4.2.1/libstdc++.dylib
         } else {
-            file mkdir ${destroot}${prefix}/lib/llvm-gcc42/${build_arch}-apple-darwin${os.major}/4.2.1
-            ln -s ../../../../bin/ld ${destroot}${prefix}/lib/llvm-gcc42/${build_arch}-apple-darwin${os.major}/4.2.1/ld
+            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
         }
 
         # dont install slibs outside of ${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120910/e64c148d/attachment.html>


More information about the macports-changes mailing list