diff options
author | Chris <[email protected]> | 2020-01-27 16:50:13 +0100 |
---|---|---|
committer | TDE Gitea <[email protected]> | 2020-01-29 22:15:23 +0000 |
commit | 26d23250f1b036d1a9764001b2676d139ea915da (patch) | |
tree | e1a744103696a0cd7315fcb8ca868ad91d6f487f /eclass/trinity-base-2.eclass | |
parent | c1a4b020090e57f7b507fb6a6a2c49a2341916e4 (diff) | |
download | tde-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 <[email protected]>
Diffstat (limited to 'eclass/trinity-base-2.eclass')
-rw-r--r-- | eclass/trinity-base-2.eclass | 4 |
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}" |