diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-11 06:45:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-11 06:45:54 +0000 |
commit | e96f09a840f1ac865c504febe44bad831c63750e (patch) | |
tree | f90205e098da21eaed94d5234b156975e4a7a31c /sci-mathematics/flint/files | |
parent | 6c988f4ed171aed46326587a0ec0d64297b20f49 (diff) |
gentoo auto-resync : 11:03:2024 - 06:45:54
Diffstat (limited to 'sci-mathematics/flint/files')
-rw-r--r-- | sci-mathematics/flint/files/flint-3.1.0-fix-pc-install.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sci-mathematics/flint/files/flint-3.1.0-fix-pc-install.patch b/sci-mathematics/flint/files/flint-3.1.0-fix-pc-install.patch new file mode 100644 index 000000000000..5e0145cb95e7 --- /dev/null +++ b/sci-mathematics/flint/files/flint-3.1.0-fix-pc-install.patch @@ -0,0 +1,29 @@ +From f4e0dfda90f6574048578f112bea1013d54f0987 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Sun, 10 Mar 2024 21:48:51 -0400 +Subject: [PATCH 1/1] CMakeLists.txt: install the pkg-config file to the + configured libdir + +Currently it installs to lib/pkgconfig, which can be incorrect on +systems where (for example) the normal libdir is lib64 and "lib" is +reserved for 32-bit libraries. +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 30935cef4..d8dfee38d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -537,7 +537,7 @@ set(PACKAGE_NAME ${PROJECT_NAME}) + set(PACKAGE_VERSION ${PROJECT_VERSION}) + configure_file(flint.pc.in flint.pc @ONLY) + +-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/flint.pc DESTINATION lib/pkgconfig) ++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/flint.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) + + if(BUILD_TESTING) + set(FLINT_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src) # To get src/test/main +-- +2.43.0 + |