summaryrefslogtreecommitdiffstats
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-11-16 11:26:59 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-29 23:10:16 +0100
commit39016ce22c6aebcaae5cc877885e6d8b18ed2c67 (patch)
tree8dbd1278b9315938ca10463847719ace8f2ef2cb /eclass
parentb8cbd39c0e0d3c04e31d8545b6efd6cea85f896c (diff)
downloadtde-packaging-gentoo-39016ce22c6aebcaae5cc877885e6d8b18ed2c67.tar.gz
tde-packaging-gentoo-39016ce22c6aebcaae5cc877885e6d8b18ed2c67.zip
trinity-functions-2.eclass: set-trinityver/need-trinity: No-op if called from live
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/trinity-functions-2.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/trinity-functions-2.eclass b/eclass/trinity-functions-2.eclass
index 17eb1c5c..89b9e67d 100644
--- a/eclass/trinity-functions-2.eclass
+++ b/eclass/trinity-functions-2.eclass
@@ -19,6 +19,7 @@ TRINITY_LIVEVER="14.1.0"
# !!! unfinished
set-trinityver() {
debug-print-function ${FUNCNAME} "${@}"
+ [[ ${BUILD_TYPE} == live ]] && return
# Set install location:
# - The third party applications and libraries go into /usr, and have SLOT="0".
@@ -118,6 +119,7 @@ trinity_prepand_path_component() {
# Sets the correct DEPEND and RDEPEND for the needed trinity < version >.
need-trinity() {
debug-print-function ${FUNCNAME} "${@}"
+ [[ ${BUILD_TYPE} == live ]] && return
local my_depend