summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-08-15 10:46:58 +0200
committerMichał Górny <mgorny@gentoo.org>2018-08-15 12:32:44 +0200
commite47f13d79c20219147484459d1eb22c0c370ff44 (patch)
tree8e31ca6bb8d57a7bd444bded84ebb8e30df3d787 /sys-devel/llvm
parentmedia-sound/teamspeak-server: drop old version (diff)
downloadgentoo-e47f13d79c20219147484459d1eb22c0c370ff44.tar.gz
gentoo-e47f13d79c20219147484459d1eb22c0c370ff44.tar.bz2
gentoo-e47f13d79c20219147484459d1eb22c0c370ff44.zip
sys-devel/llvm: Use newenvd with stdin form
Diffstat (limited to 'sys-devel/llvm')
-rw-r--r--sys-devel/llvm/llvm-7.0.9999.ebuild5
-rw-r--r--sys-devel/llvm/llvm-9999.ebuild5
2 files changed, 4 insertions, 6 deletions
diff --git a/sys-devel/llvm/llvm-7.0.9999.ebuild b/sys-devel/llvm/llvm-7.0.9999.ebuild
index 7e0077310f5..2777a3c503c 100644
--- a/sys-devel/llvm/llvm-7.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-7.0.9999.ebuild
@@ -230,14 +230,13 @@ multilib_src_install() {
multilib_src_install_all() {
local revord=$(( 9999 - ${SLOT} ))
- cat <<-_EOF_ > "${T}/10llvm-${revord}" || die
+ newenvd - "10llvm-${revord}" <<-_EOF_
PATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin"
# we need to duplicate it in ROOTPATH for Portage to respect...
ROOTPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin"
MANPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man"
LDPATH="$( IFS=:; echo "${LLVM_LDPATHS[*]}" )"
-_EOF_
- doenvd "${T}/10llvm-${revord}"
+ _EOF_
docompress "/usr/lib/llvm/${SLOT}/share/man"
}
diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild
index d5404d204a0..ed5dd0b817a 100644
--- a/sys-devel/llvm/llvm-9999.ebuild
+++ b/sys-devel/llvm/llvm-9999.ebuild
@@ -256,14 +256,13 @@ multilib_src_install() {
multilib_src_install_all() {
local revord=$(( 9999 - ${SLOT} ))
- cat <<-_EOF_ > "${T}/10llvm-${revord}" || die
+ newenvd - "10llvm-${revord}" <<-_EOF_
PATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin"
# we need to duplicate it in ROOTPATH for Portage to respect...
ROOTPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin"
MANPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man"
LDPATH="$( IFS=:; echo "${LLVM_LDPATHS[*]}" )"
-_EOF_
- doenvd "${T}/10llvm-${revord}"
+ _EOF_
docompress "/usr/lib/llvm/${SLOT}/share/man"
}