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

MacPorts noreply at macports.org
Tue Mar 20 07:51:26 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@…):

 Replying to [comment:8 raphael@…]:
 > Replying to [comment:5 sean.michael.farley@…]:
 > > Ok, I think I've figured out why the executables in demo and examples
 aren't linked correctly. It's because there is no CMAKE_INSTALL_NAME_DIR
 variable set in the cmake files ... which still doesn't fix this problem
 because demos and examples have no 'install' target.

 > I discovered that CGAL_INSTALL_CMAKE_DIR should be a path relative to
 `${prefix}`. So it should be {{{-DCGAL_INSTALL_CMAKE_DIR="lib/cmake"}}},
 which works for me.

 Ah, nice!

 > A new patch is attached.

 This still doesn't fix the rpath issue with demos and examples for me. One
 way we could fix it is to use 'otool -L' on all the executables, match the
 ${worksrcpath} variable, parse the libraries it links to, then use
 'install_name_tool' to change it; but that seems like overkill since cmake
 will do this automatically if demos was listed as 'installable'. Do we
 really want the demos variant that much?

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


More information about the macports-tickets mailing list