Opened 12 years ago

Closed 11 years ago

#32862 closed defect (fixed)

cgal: wrong path in /opt/local/lib/CGAL/FindQGLViewer.cmake

Reported by: josephwinston (Joseph Winston) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: raphael-st (Raphael Straub)
Port: cgal

Description

When installing in the normal places, all the paths in /opt/local/lib/cmake/FindQGLViewer.cmake use /usr instead of /opt

Attachments (1)

FindQGLViewer.patch (1.8 KB) - added by josephwinston (Joseph Winston) 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by josephwinston (Joseph Winston)

Attachment: FindQGLViewer.patch added

comment:1 in reply to:  description Changed 12 years ago by raphael-st (Raphael Straub)

Port: cgal added
Version: 2.0.3

Replying to josephwinston@…:

When installing in the normal places, all the paths in /opt/local/lib/cmake/FindQGLViewer.cmake use /usr instead of /opt

Are you sure that this file is provided by the libQGLViewer port? Here, the file is called ${prefix}/lib/CGAL/FindQGLViewer.cmake and is provded by the cgal port:

> port provides /opt/local/lib/CGAL/FindQGLViewer.cmake 
/opt/local/lib/CGAL/FindQGLViewer.cmake is provided by: cgal

comment:2 Changed 12 years ago by raphael-st (Raphael Straub)

Cc: raphael@… added

Cc Me!

comment:3 Changed 12 years ago by josephwinston (Joseph Winston)

You are correct. It should be a part of cgal and not QGLViewer.

comment:4 Changed 12 years ago by raphael-st (Raphael Straub)

Owner: changed from macports-tickets@… to vince@…
Summary: libQGLViewer @2.3.10_0 has the wrong path in /opt/local/lib/cmake/FindQGLViewer.cmakecgal: wrong path in /opt/local/lib/CGAL/FindQGLViewer.cmake

comment:5 Changed 12 years ago by jmroot (Joshua Root)

This appears to still be the case in 4.0. The file appears in two places in the source, so I'm not sure which one you would need to patch:

cmake/modules/FindQGLViewer.cmake
demo/Surface_reconstruction_points_3/GlSplat/cmake/FindQGLViewer.cmake

comment:6 Changed 11 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

This has surely been superseded in 4.2. I close this report.

Note: See TracTickets for help on using tickets.