Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663464 - sci-mathematics/cgal: CMake configuration files installed in the wrong directory
Summary: sci-mathematics/cgal: CMake configuration files installed in the wrong directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-08-12 20:15 UTC by Diogo Pereira
Modified: 2018-09-09 15:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diogo Pereira 2018-08-12 20:15:42 UTC
sci-mathematics/cgal installs its CMake configuration files directly in /usr/lib64/cmake/ (e.g. /usr/lib64/cmake/FindCGAL.cmake). However, according to the find_package documentation [1], these files should be installed in a subdirectory with the name of the package (e.g. /usr/lib64/cmake/CGAL/FindCGAL.cmake).

On my system, sci-mathematics/cgal is the only package that installs .cmake files directly in /usr/lib64/cmake/.

The result of this behavior is that find_package is unable to find CGAL unless I specify additional options such as CGAL_DIR or CMAKE_PREFIX_PATH.


[1] https://cmake.org/cmake/help/v3.12/command/find_package.html
Comment 1 Larry the Git Cow gentoo-dev 2018-09-09 15:54:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e3eee2f9aa40705a2d49f43b28cd5970b608851

commit 6e3eee2f9aa40705a2d49f43b28cd5970b608851
Author:     Diogo Pereira <sir.suriv@gmail.com>
AuthorDate: 2018-08-20 11:51:49 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-09-09 15:53:20 +0000

    sci-mathematics/cgal: bump to 4.11.3
    
    Closes: https://bugs.gentoo.org/663464
    Closes: https://github.com/gentoo/gentoo/pull/9557
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-mathematics/cgal/Manifest           |  2 +
 sci-mathematics/cgal/cgal-4.11.3.ebuild | 80 +++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)