[BACK]Return to patch-CMakeLists.txt CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / math / eigen3 / patches

File: [cvs.NetBSD.org] / pkgsrc / math / eigen3 / patches / Attic / patch-CMakeLists.txt (download)

Revision 1.2, Wed May 29 22:58:25 2013 UTC (9 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.1: +3 -1 lines

Update to 3.1.3. Add comment to patch.

Changes since 3.1.2:

    Bug 526 - Fix linear vectorized transversal in linspace.
    Bug 551 - Fix compilation issue when using EIGEN_DEFAULT_DENSE_INDEX_TYPE.
    Bug 533 - Fix some missing const qualifiers in Transpose
    Fix a compilation with CGAL::Gmpq by adding explicit internal:: namespace when calling abs().
    Fix computation of outer-stride when calling .real() or .imag().
    Fix handmade_aligned_realloc (affected conservativeResize()).
    Fix sparse vector assignment from a sparse matrix.
    Fix log(0) with SSE.
    Fix bug in aligned_free with windows CE.
    Fix traits of Map<Quaternion.
    Fix a few warnings (507, 535, 581).
    Enable SSE with ICC even when it mimics a gcc version lower than 4.2
    Workaround gcc-4.7 bug #53900 (too aggressive optimization in our alignment check)

$NetBSD: patch-CMakeLists.txt,v 1.2 2013/05/29 22:58:25 wiz Exp $

Use pkgsrc default path for pkg-config files.

--- CMakeLists.txt.orig	2013-03-31 22:44:57.000000000 +0000
+++ CMakeLists.txt
@@ -284,24 +284,10 @@ install(FILES
   DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
   )
 
-if(EIGEN_BUILD_PKGCONFIG)
-    SET(path_separator ":")
-    STRING(REPLACE ${path_separator} ";" pkg_config_libdir_search "$ENV{PKG_CONFIG_LIBDIR}")
-    message(STATUS "searching for 'pkgconfig' directory in PKG_CONFIG_LIBDIR ( $ENV{PKG_CONFIG_LIBDIR} ), ${CMAKE_INSTALL_PREFIX}/share, and ${CMAKE_INSTALL_PREFIX}/lib")
-    FIND_PATH(pkg_config_libdir pkgconfig ${pkg_config_libdir_search} ${CMAKE_INSTALL_PREFIX}/share ${CMAKE_INSTALL_PREFIX}/lib ${pkg_config_libdir_search})
-    if(pkg_config_libdir)
-        SET(pkg_config_install_dir ${pkg_config_libdir})
-        message(STATUS "found ${pkg_config_libdir}/pkgconfig" )
-    else(pkg_config_libdir)
-        SET(pkg_config_install_dir ${CMAKE_INSTALL_PREFIX}/share)
-        message(STATUS "pkgconfig not found; installing in ${pkg_config_install_dir}" )
-    endif(pkg_config_libdir)
-
     configure_file(eigen3.pc.in eigen3.pc)
     install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eigen3.pc
-        DESTINATION ${pkg_config_install_dir}/pkgconfig
+        DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig"
         )
-endif(EIGEN_BUILD_PKGCONFIG)
 
 add_subdirectory(Eigen)