summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2021-08-12 09:40:12 +0300
committerJoonas Niilola <juippis@gentoo.org>2021-08-12 09:45:09 +0300
commit4282b57d80283d5bf7022ae059ef8a7c876fb169 (patch)
tree92c71d3c07f3cfb7284c0590563a0a6285590667 /media-libs
parentmedia-libs/openexr: bump to 3.1.1 (diff)
downloadgentoo-4282b57d80283d5bf7022ae059ef8a7c876fb169.tar.gz
gentoo-4282b57d80283d5bf7022ae059ef8a7c876fb169.tar.bz2
gentoo-4282b57d80283d5bf7022ae059ef8a7c876fb169.zip
media-libs/openexr: use newenvd in src_install in 3.1.1
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/openexr/openexr-3.1.1.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/media-libs/openexr/openexr-3.1.1.ebuild b/media-libs/openexr/openexr-3.1.1.ebuild
index 41ba22b004d6..572fb41e9506 100644
--- a/media-libs/openexr/openexr-3.1.1.ebuild
+++ b/media-libs/openexr/openexr-3.1.1.ebuild
@@ -71,8 +71,7 @@ src_install() {
use examples && docompress -x /usr/share/doc/${PF}/examples
cmake_src_install
- cat > "${T}"/99${PN}3 <<-EOF || die
- LDPATH=/usr/$(get_libdir)/${MY_P}
+ newenvd - 99${PN}3 <<-EOF
+ LDPATH=/usr/$(get_libdir)/${MY_P}
EOF
- doenvd "${T}"/99${PN}3
}