1 |
commit: 618bc38b2169d7eb4dc94dc6e19444510759f02d |
2 |
Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> |
3 |
AuthorDate: Sun Oct 16 17:09:03 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 30 09:33:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=618bc38b |
7 |
|
8 |
sci-physics/lhapdf: Patch CXXFLAGS and LDFLAGS |
9 |
|
10 |
Bug: https://bugs.gentoo.org/875386 |
11 |
Bug: https://bugs.gentoo.org/873655 |
12 |
Bug: https://bugs.gentoo.org/873652 |
13 |
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch | 11 +++++++++++ |
17 |
sci-physics/lhapdf/lhapdf-6.5.2.ebuild | 4 +++- |
18 |
2 files changed, 14 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch b/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch |
21 |
new file mode 100644 |
22 |
index 000000000000..e4e6579872e2 |
23 |
--- /dev/null |
24 |
+++ b/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch |
25 |
@@ -0,0 +1,11 @@ |
26 |
+--- a/wrappers/python/build.py.in 2022-10-16 17:54:18.406418600 +0200 |
27 |
++++ b/wrappers/python/build.py.in 2022-10-16 17:54:31.926612653 +0200 |
28 |
+@@ -20,7 +20,7 @@ |
29 |
+ ## Include args |
30 |
+ incargs = " ".join("-I{}".format(d) for d in incdirs) |
31 |
+ incargs += " -I@prefix@/include" |
32 |
+-incargs += " @CPPFLAGS@" |
33 |
++incargs += " @CPPFLAGS@ @CXXFLAGS@ @LDFLAGS@" |
34 |
+ |
35 |
+ ## Compile args |
36 |
+ cmpargs = "" #"@PYEXT_CXXFLAGS@" |
37 |
|
38 |
diff --git a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild |
39 |
index 3655b125aee8..847df333d690 100644 |
40 |
--- a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild |
41 |
+++ b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild |
42 |
@@ -32,7 +32,9 @@ RDEPEND=" |
43 |
dev-libs/boost:= |
44 |
${PYTHON_DEPS}" |
45 |
DEPEND="${RDEPEND}" |
46 |
- |
47 |
+PATCHES=( |
48 |
+ "${FILESDIR}"/${P}-py.patch |
49 |
+) |
50 |
src_configure() { |
51 |
CONFIG_SHELL="${EPREFIX}/bin/bash" \ |
52 |
econf \ |