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

jeremyhu at macports.org jeremyhu at macports.org
Sun Apr 1 12:02:27 PDT 2012


Revision: 91424
          https://trac.macports.org/changeset/91424
Author:   jeremyhu at macports.org
Date:     2012-04-01 12:02:26 -0700 (Sun, 01 Apr 2012)
Log Message:
-----------
llvm-gcc42: Build fix for Tiger

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

Modified: trunk/dports/lang/llvm-gcc42/Portfile
===================================================================
--- trunk/dports/lang/llvm-gcc42/Portfile	2012-04-01 18:50:57 UTC (rev 91423)
+++ trunk/dports/lang/llvm-gcc42/Portfile	2012-04-01 19:02:26 UTC (rev 91424)
@@ -97,6 +97,12 @@
         system "rm -rf ${worksrcpath}/libstdc++-v3"
     }
 
+    post-patch {
+        if {${os.major} < 9} {
+            reinplace "/vproc.h/d" ${workpath}/${distname}/gcc/libgcov.c
+        }
+    }
+
     if {${build_arch} == "i386" } {
         configure.pre_args-append --host=i686-apple-darwin${os.major}
     } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120401/d75a8670/attachment.html>


More information about the macports-changes mailing list