[MacPorts] #33649: cgal update 3.9 -> 4.0

MacPorts noreply at macports.org
Thu Mar 22 12:02:48 PDT 2012


#33649: cgal update 3.9 -> 4.0
--------------------------------+-------------------------------------------
 Reporter:  mmoll@…             |       Owner:  vince@…           
     Type:  update              |      Status:  new               
 Priority:  Normal              |   Milestone:                    
Component:  ports               |     Version:                    
 Keywords:  haspatch            |        Port:  cgal              
--------------------------------+-------------------------------------------

Comment(by sean.michael.farley@…):

 > Even then, some of the demos are broken, because they expect plugins to
 be installed in /opt/local/lib. For example, this is what happens for me:
 > {{{
 >
 /opt/local/share/cgal/demo/Surface_reconstruction_points_3/Point_set_demo
 > dyld: Library not loaded: /opt/local/lib/libPS_demo_scene_item.dylib
 >   Referenced from:
 /opt/local/share/cgal/demo/Surface_reconstruction_points_3/Point_set_demo
 >   Reason: image not found
 > Trace/BPT trap: 5
 > }}}
 > Patching the CMakeLists file is probably the right way to go, but that's
 a pain. You can probably fix the programs without plugins using the
 attached patch for CGAL_CreateSingleSourceCGALProgram.cmake (untested).
 Perhaps the demos with plugins can be disabled?

 Wait a minute. Why make more work for ourselves with this 'demo' variant?
 Why not create a new port called cgal-examples? This new port would depend
 on cgal and would avoid all these wonky rpath issues since cgal's examples
 and demos are actually written expecting cgal to be already installed.
 Thoughts?

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


More information about the macports-tickets mailing list