summaryrefslogtreecommitdiffstats
path: root/eclass
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2021-11-05 17:27:25 +0300
committerormorph <roma251078@mail.ru>2021-11-06 05:08:32 +0300
commit59b1a7112867f9239e8522fba5c46b954b501109 (patch)
tree22ee53a50dd2becf4c67c4a212a5d9a774ab25fc /eclass
parentfc35dc276a7c0a7e61a1c2f232c5c1eff344f871 (diff)
downloadtde-packaging-gentoo-59b1a7112867f9239e8522fba5c46b954b501109.tar.gz
tde-packaging-gentoo-59b1a7112867f9239e8522fba5c46b954b501109.zip
Added -DWITH_ALL_OPTIONS=OFF and -DBUILD_ALL=OFF options to eclass/trinity-base-2.eclass
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/trinity-base-2.eclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/eclass/trinity-base-2.eclass b/eclass/trinity-base-2.eclass
index 7af8ed8a..d077d6e3 100644
--- a/eclass/trinity-base-2.eclass
+++ b/eclass/trinity-base-2.eclass
@@ -394,6 +394,14 @@ trinity-base-2_src_configure() {
"${mycmakeargs[@]}"
)
+ if ! has "-DBUILD_ALL=ON" ${mycmakeargs[@]} ; then
+ mycmakeargs+=(-DBUILD_ALL=OFF)
+ fi
+
+ if ! has "-DWITH_ALL_OPTIONS=ON" ${mycmakeargs[@]} ; then
+ mycmakeargs+=(-DWITH_ALL_OPTIONS=OFF)
+ fi
+
if [[ ${TRINITY_BUILD_ADMIN} == "yes" ]] ; then
trinity-econf
elif [[ ${TRINITY_BUILD_ADMIN} == "no" ]] ; then