diff options
-rw-r--r-- | eclass/office-ext-r1.eclass | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/eclass/office-ext-r1.eclass b/eclass/office-ext-r1.eclass index f9492a839f31..e2d213dea4e1 100644 --- a/eclass/office-ext-r1.eclass +++ b/eclass/office-ext-r1.eclass @@ -72,14 +72,23 @@ RDEPEND="" for i in ${OFFICE_IMPLEMENTATIONS[@]}; do IUSE+=" office_implementation_${i}" - RDEPEND+=" - office_implementation_${i}? ( - || ( - app-office/${i}${OFFICE_REQ_USE} - app-office/${i}-bin${OFFICE_REQ_USE} + if [[ ${i} == "openoffice" ]]; then + # special only binary + RDEPEND+=" + office_implementation_openoffice? ( + app-office/openoffice-bin${OFFICE_REQ_USE} ) - ) - " + " + else + RDEPEND+=" + office_implementation_${i}? ( + || ( + app-office/${i}${OFFICE_REQ_USE} + app-office/${i}-bin${OFFICE_REQ_USE} + ) + ) + " + fi done REQUIRED_USE="|| ( " |