summaryrefslogtreecommitdiffstats
path: root/eclass
diff options
context:
space:
mode:
authorChris <xchrisx@uber.space>2020-01-27 16:50:13 +0100
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2020-01-29 22:15:23 +0000
commit26d23250f1b036d1a9764001b2676d139ea915da (patch)
treee1a744103696a0cd7315fcb8ca868ad91d6f487f /eclass
parentc1a4b020090e57f7b507fb6a6a2c49a2341916e4 (diff)
downloadtde-packaging-gentoo-26d23250f1b036d1a9764001b2676d139ea915da.tar.gz
tde-packaging-gentoo-26d23250f1b036d1a9764001b2676d139ea915da.zip
Trinity-*-2.eclass: Improve arts 'yes' support.
You don't need to specify the build flag now. Signed-off-by: Chris <xchrisx@uber.space>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/trinity-base-2.eclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/trinity-base-2.eclass b/eclass/trinity-base-2.eclass
index 5b8451e3..54572de5 100644
--- a/eclass/trinity-base-2.eclass
+++ b/eclass/trinity-base-2.eclass
@@ -273,6 +273,10 @@ trinity-base-2_src_configure() {
eg_cmakeargs=( -DWITH_ARTS="$(usex arts)" "${eg_cmakeargs[@]}" )
fi
+ if [[ "${TRINITY_NEED_ARTS}" == "yes" ]]; then
+ eg_cmakeargs=( -DWITH_ARTS=ON "${eg_cmakeargs[@]}" )
+ fi
+
mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${EPREFIX}${TDEDIR}"
-DCMAKE_INSTALL_RPATH="${EPREFIX}${TDEDIR}"