diff options
author | David Seifert <soap@gentoo.org> | 2016-03-05 18:27:50 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-03-05 18:29:56 +0100 |
commit | 78a6d83e795f38dfb39883cb954650723e1a7c39 (patch) | |
tree | a28da39d6984790f8c1be795b499de2c40f5064f /sci-mathematics/cgal/files | |
parent | dev-libs/ntl: version bump to 9.6.4 (diff) | |
download | gentoo-78a6d83e795f38dfb39883cb954650723e1a7c39.tar.gz gentoo-78a6d83e795f38dfb39883cb954650723e1a7c39.tar.bz2 gentoo-78a6d83e795f38dfb39883cb954650723e1a7c39.zip |
sci-mathematics/cgal: Version bump to 4.7
* EAPI=6
* Depend on dev-cpp/eigen
* Subslot depend on dev-libs/boost (#573274)
* Change deps to QT5
* Add optional dep on dev-libs/ntl
Package-Manager: portage-2.2.27
Diffstat (limited to 'sci-mathematics/cgal/files')
-rw-r--r-- | sci-mathematics/cgal/files/cgal-4.7-fix-buildsystem.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sci-mathematics/cgal/files/cgal-4.7-fix-buildsystem.patch b/sci-mathematics/cgal/files/cgal-4.7-fix-buildsystem.patch new file mode 100644 index 000000000000..6aabdc395395 --- /dev/null +++ b/sci-mathematics/cgal/files/cgal-4.7-fix-buildsystem.patch @@ -0,0 +1,19 @@ +Remove customized handling of ${CMAKE_BUILD_TYPE} which conflicts with +how Gentoo handles ${CMAKE_BUILD_TYPE}: +* CMake Error at cmake/modules/CGAL_SetupFlags.cmake:65 (message): +* Gentoo is not a valid build type: only Release or Debug is allowed +* Call Stack (most recent call first): +* CMakeLists.txt:519 (include) + +--- CGAL-4.7/cmake/modules/CGAL_SetupFlags.cmake ++++ CGAL-4.7/cmake/modules/CGAL_SetupFlags.cmake +@@ -61,9 +61,6 @@ + add_definitions(-DCGAL_TEST_SUITE) + endif() + +-if ( NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Release" AND NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug" ) +- message( FATAL_ERROR "${CMAKE_BUILD_TYPE} is not a valid build type: only Release or Debug is allowed" ) +-endif() + + message( STATUS "Build type: ${CMAKE_BUILD_TYPE}" ) + |