From: Tomáš Chvátal Date: Tue, 2 Aug 2016 20:29:12 +0000 (+0200) Subject: office-ext-r1.eclass: avoid repoman unknown dependency warning X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=78920cabe45bff25328265a21b6fdd695c581be3;p=gentoo.git office-ext-r1.eclass: avoid repoman unknown dependency warning Signed-off-by: Tomáš Chvátal --- 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="|| ( "