Revision
91424
Author
jeremyhu@macports.org
Date
2012-04-01 12:02:26 -0700 (Sun, 01 Apr 2012)

Log Message

llvm-gcc42: Build fix for Tiger

Modified Paths

Diff

Modified: trunk/dports/lang/llvm-gcc42/Portfile (91423 => 91424)


--- 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 {