commit: 78920cabe45bff25328265a21b6fdd695c581be3
Author: Tomáš Chvátal <scarabeus <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 2 20:29:12 2016 +0000
Commit: Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
CommitDate: Tue Aug 2 20:40:17 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78920cab
office-ext-r1.eclass: avoid repoman unknown dependency warning
Signed-off-by: Tomáš Chvátal <scarabeus <AT> gentoo.org>
eclass/office-ext-r1.eclass | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/eclass/office-ext-r1.eclass b/eclass/office-ext-r1.eclass
index f9492a8..e2d213d 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="|| ( "