summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
}