Revision: 120740 https://trac.macports.org/changeset/120740 Author: sean@macports.org Date: 2014-06-05 20:54:39 -0700 (Thu, 05 Jun 2014) Log Message: ----------- vtk5: fix xocde 5.1 compatibility Modified Paths: -------------- trunk/dports/graphics/vtk5/Portfile Modified: trunk/dports/graphics/vtk5/Portfile =================================================================== --- trunk/dports/graphics/vtk5/Portfile 2014-06-06 03:54:35 UTC (rev 120739) +++ trunk/dports/graphics/vtk5/Portfile 2014-06-06 03:54:39 UTC (rev 120740) @@ -40,6 +40,12 @@ patchfiles patch-tiff-inline.diff +post-patch { + # Xcode 5.1 breaks vtk build. A backwards compatible fix is to remove + # -fobjc-gc; see http://review.source.kitware.com/#/c/14424/ + reinplace -W ${worksrcpath} "s,-fobjc-gc,,g" CMakeLists.txt +} + use_parallel_build yes configure.args-append \