commit:     fcd9b2c3d8c14a577b0666204a531ef3dc7eabe1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 14 07:00:53 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 14 07:33:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd9b2c3

sci-mathematics/prng: fix -lm patch, EAPI 8

This exists since

commit 070e580ea7f3d551b066f5f1a0dff666bf67645f
Author:     Sebastien Fabbro <bicatali <AT> gentoo.org>
AuthorDate: Fri Dec 17 22:36:07 2010 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo.org>
CommitDate: Fri Dec 17 22:36:07 2010 +0000

    moved to the main tree

    (Portage version: 2.1.9.25/cvs/Linux x86_64)

If we're going to patch configure to search for -lm, we should use
the result...

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/prng/files/prng-3.0.2-shared.patch                  | 2 +-
 sci-mathematics/prng/{prng-3.0.2-r3.ebuild => prng-3.0.2-r4.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/prng/files/prng-3.0.2-shared.patch 
b/sci-mathematics/prng/files/prng-3.0.2-shared.patch
index cee8de060fae..e74efa409cd4 100644
--- a/sci-mathematics/prng/files/prng-3.0.2-shared.patch
+++ b/sci-mathematics/prng/files/prng-3.0.2-shared.patch
@@ -27,7 +27,7 @@
  # $Id$
  
 -LDADD = $(top_builddir)/src/libprng.a -lm
-+LDADD = $(top_builddir)/src/libprng.la -lm
++LDADD = $(top_builddir)/src/libprng.la $(LIBM)
  
  INCLUDES = -I$(top_srcdir)/src
  

diff --git a/sci-mathematics/prng/prng-3.0.2-r3.ebuild 
b/sci-mathematics/prng/prng-3.0.2-r4.ebuild
similarity index 99%
rename from sci-mathematics/prng/prng-3.0.2-r3.ebuild
rename to sci-mathematics/prng/prng-3.0.2-r4.ebuild
index e25b96a897a2..dfcc63eed90a 100644
--- a/sci-mathematics/prng/prng-3.0.2-r3.ebuild
+++ b/sci-mathematics/prng/prng-3.0.2-r4.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools
 

Reply via email to