public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/flint/, sci-mathematics/flint/files/
Date: Mon, 14 Oct 2024 12:44:37 +0000 (UTC)	[thread overview]
Message-ID: <1728909864.02b9512fa2ef34cf631f752b2544e6ea01085094.mjo@gentoo> (raw)

commit:     02b9512fa2ef34cf631f752b2544e6ea01085094
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 14 12:10:22 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 12:44:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b9512f

sci-mathematics/flint: fix the flint.pc location again

I fixed this upstream a while ago, but it's missing from the current
release, so we need to patch it again. Straight to stable because we've
done this all before.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .../files/flint-3.1.3_p1-fix-pc-location.patch     | 26 ++++++++++++++++++++++
 ...nt-3.1.3_p1.ebuild => flint-3.1.3_p1-r1.ebuild} |  1 +
 2 files changed, 27 insertions(+)

diff --git a/sci-mathematics/flint/files/flint-3.1.3_p1-fix-pc-location.patch b/sci-mathematics/flint/files/flint-3.1.3_p1-fix-pc-location.patch
new file mode 100644
index 000000000000..82c9fc27d8f2
--- /dev/null
+++ b/sci-mathematics/flint/files/flint-3.1.3_p1-fix-pc-location.patch
@@ -0,0 +1,26 @@
+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] 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 30935cef47..d8dfee38df 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

diff --git a/sci-mathematics/flint/flint-3.1.3_p1.ebuild b/sci-mathematics/flint/flint-3.1.3_p1-r1.ebuild
similarity index 97%
rename from sci-mathematics/flint/flint-3.1.3_p1.ebuild
rename to sci-mathematics/flint/flint-3.1.3_p1-r1.ebuild
index 4f60961ecba2..bca7c62b7b66 100644
--- a/sci-mathematics/flint/flint-3.1.3_p1.ebuild
+++ b/sci-mathematics/flint/flint-3.1.3_p1-r1.ebuild
@@ -48,6 +48,7 @@ DOCS="AUTHORS README.md doc/source/*.rst"
 PATCHES=(
 	"${FILESDIR}/flint-3.0.1-find-cblas.patch"
 	"${FILESDIR}/flint-3.1.3_p1-c99-I.patch"
+	"${FILESDIR}/flint-3.1.3_p1-fix-pc-location.patch"
 )
 
 src_configure() {


             reply	other threads:[~2024-10-14 12:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-14 12:44 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-26 22:23 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/flint/, sci-mathematics/flint/files/ Michael Orlitzky
2024-06-26 22:23 Michael Orlitzky
2024-03-11  2:55 Michael Orlitzky
2023-12-24  4:29 Michael Orlitzky
2022-12-19 14:47 Andreas Sturmlechner
2021-08-07 11:52 Michael Orlitzky
2020-06-17  1:42 Michael Orlitzky
2017-09-24 19:17 Thomas Deutschmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1728909864.02b9512fa2ef34cf631f752b2544e6ea01085094.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox