[MacPorts] #33465: vtk5 +qt4_mac build fails (vtk build with --python upstream bug)

MacPorts noreply at macports.org
Sat Mar 10 05:12:02 PST 2012


#33465: vtk5 +qt4_mac build fails (vtk build with --python upstream bug)
------------------------------------+---------------------------------------
 Reporter:  v.favrenicolin@…        |       Owner:  adfernandes@…           
     Type:  defect                  |      Status:  new                     
 Priority:  Normal                  |   Milestone:                          
Component:  ports                   |     Version:  2.0.4                   
 Keywords:  vtk5 python             |        Port:  vtk5                    
------------------------------------+---------------------------------------

Comment(by v.favrenicolin@…):

 Ok, I finally got everything working, by adding the following lines to the
 port file (yes it is an '''ugly kludge''' but it works).
 {{{
 build.asroot yes

 pre-build {
         system "rm -Rf /opt/local/lib/vtk-5.8"
         system "ln -sf
 /opt/local/var/macports/build/_Users_vincent/vtk5/work/VTK/bin/
 /opt/local/lib/vtk-5.8"
 }

 post-build {
         system "rm -f /opt/local/lib/vtk-5.8"
 }

 }}}

 I attach the portfile below.

-- 
Ticket URL: <https://trac.macports.org/ticket/33465#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list