diff options
author | Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> | 2022-10-16 19:09:03 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-30 09:33:25 +0000 |
commit | 618bc38b2169d7eb4dc94dc6e19444510759f02d (patch) | |
tree | d6225ebf4eee0de5ec00ea650d04d203dde5eafc /sci-physics/lhapdf | |
parent | sys-kernel/vanilla-sources: add 5.10.152, drop 5.10.150 (diff) | |
download | gentoo-618bc38b2169d7eb4dc94dc6e19444510759f02d.tar.gz gentoo-618bc38b2169d7eb4dc94dc6e19444510759f02d.tar.bz2 gentoo-618bc38b2169d7eb4dc94dc6e19444510759f02d.zip |
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@neuwirth-informatik.de>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-physics/lhapdf')
-rw-r--r-- | sci-physics/lhapdf/files/lhapdf-6.5.2-py.patch | 11 | ||||
-rw-r--r-- | sci-physics/lhapdf/lhapdf-6.5.2.ebuild | 4 |
2 files changed, 14 insertions, 1 deletions
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 \ |