commit: 618bc38b2169d7eb4dc94dc6e19444510759f02d Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Sun Oct 16 17:09:03 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Oct 30 09:33:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=618bc38b
sci-physics/lhapdf: Patch CXXFLAGS and LDFLAGS Bug: https://bugs.gentoo.org/875386 Bug: https://bugs.gentoo.org/873655 Bug: https://bugs.gentoo.org/873652 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> Signed-off-by: Sam James <sam <AT> gentoo.org> sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch | 11 +++++++++++ sci-physics/lhapdf/lhapdf-6.5.2.ebuild | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch b/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch new file mode 100644 index 000000000000..e4e6579872e2 --- /dev/null +++ b/sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch @@ -0,0 +1,11 @@ +--- a/wrappers/python/build.py.in 2022-10-16 17:54:18.406418600 +0200 ++++ b/wrappers/python/build.py.in 2022-10-16 17:54:31.926612653 +0200 +@@ -20,7 +20,7 @@ + ## Include args + incargs = " ".join("-I{}".format(d) for d in incdirs) + incargs += " -I@prefix@/include" +-incargs += " @CPPFLAGS@" ++incargs += " @CPPFLAGS@ @CXXFLAGS@ @LDFLAGS@" + + ## Compile args + cmpargs = "" #"@PYEXT_CXXFLAGS@" diff --git a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild index 3655b125aee8..847df333d690 100644 --- a/sci-physics/lhapdf/lhapdf-6.5.2.ebuild +++ b/sci-physics/lhapdf/lhapdf-6.5.2.ebuild @@ -32,7 +32,9 @@ RDEPEND=" dev-libs/boost:= ${PYTHON_DEPS}" DEPEND="${RDEPEND}" - +PATCHES=( + "${FILESDIR}"/${P}-py.patch +) src_configure() { CONFIG_SHELL="${EPREFIX}/bin/bash" \ econf \
