commit:     55a3901b5cb825e1e972648f9edef0356d498bf8
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Mon Feb  7 17:26:30 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 11 16:29:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55a3901b

dev-libs/imath: add env file to define LD_PATH

Closes: https://bugs.gentoo.org/832773
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../imath/{imath-3.1.4.ebuild => imath-3.1.3-r1.ebuild}     | 13 +++++++++++--
 .../imath/{imath-3.1.4.ebuild => imath-3.1.4-r1.ebuild}     |  8 ++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/dev-libs/imath/imath-3.1.4.ebuild 
b/dev-libs/imath/imath-3.1.3-r1.ebuild
similarity index 86%
copy from dev-libs/imath/imath-3.1.4.ebuild
copy to dev-libs/imath/imath-3.1.3-r1.ebuild
index 54eb940af84e..ee484855491a 100644
--- a/dev-libs/imath/imath-3.1.4.ebuild
+++ b/dev-libs/imath/imath-3.1.3-r1.ebuild
@@ -41,7 +41,7 @@ BDEPEND="
        python? ( ${PYTHON_DEPS} )
 "
 
-PATCHES=( "${FILESDIR}"/${P}-Gentoo-specific-changes-needed-for-slotting.patch 
)
+PATCHES=( 
"${FILESDIR}"/${PN}-3.1.1-0001-changes-needed-for-proper-slotting.patch )
 DOCS=( CHANGES.md CONTRIBUTORS.md README.md SECURITY.md 
docs/PortingGuide2-3.md )
 
 pkg_setup() {
@@ -63,7 +63,8 @@ src_configure() {
        )
        if use python; then
                mycmakeargs+=(
-                       -DBoost_NO_BOOST_CMAKE=OFF
+                       # temp. disable for finding libboost_python310, #803032
+#                      -DBoost_NO_BOOST_CMAKE=OFF
                        -DPYTHON=ON
                        -DPython3_EXECUTABLE="${PYTHON}"
                        -DPython3_INCLUDE_DIR=$(python_get_includedir)
@@ -73,3 +74,11 @@ src_configure() {
 
        cmake_src_configure
 }
+
+src_install() {
+       cmake_src_install
+
+       newenvd - 99${PN}3 <<-EOF
+               LDPATH=${EPREFIX}/usr/$(get_libdir)/${MY_PN}-3
+       EOF
+}

diff --git a/dev-libs/imath/imath-3.1.4.ebuild 
b/dev-libs/imath/imath-3.1.4-r1.ebuild
similarity index 94%
rename from dev-libs/imath/imath-3.1.4.ebuild
rename to dev-libs/imath/imath-3.1.4-r1.ebuild
index 54eb940af84e..0c407bd3727e 100644
--- a/dev-libs/imath/imath-3.1.4.ebuild
+++ b/dev-libs/imath/imath-3.1.4-r1.ebuild
@@ -73,3 +73,11 @@ src_configure() {
 
        cmake_src_configure
 }
+
+src_install() {
+       cmake_src_install
+
+       newenvd - 99${PN}3 <<-EOF
+               LDPATH=${EPREFIX}/usr/$(get_libdir)/${MY_PN}-3
+       EOF
+}

Reply via email to