Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340435 - net-dns/libidn with use flag "java -doc" still depends on dev-java/gjdoc
Summary: net-dns/libidn with use flag "java -doc" still depends on dev-java/gjdoc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-10 23:03 UTC by Michel Ganguin
Modified: 2010-10-11 20:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Ganguin 2010-10-10 23:03:21 UTC
USE="java -doc" emerge net-dns/libidn builds dev-java/gjdoc but it don't need it 

javadoc generation depends on doc useflag in src_install():
if use java; then
  ...
  if use doc; then
    ...javadoc
  fi
fi)

Reproducible: Always




There is the fix (tested on my system):

--- /usr/portage/net-dns/libidn/libidn-1.19.ebuild	2010-10-03 18:07:04.000000000 +0200
+++ /usr/local/portage/net-dns/libidn/libidn-1.19.ebuild	2010-10-11 00:56:34.000000000 +0200
@@ -17,7 +17,7 @@
 	mono? ( >=dev-lang/mono-0.95 )"
 DEPEND="${COMMON_DEPEND}
 	nls? ( >=sys-devel/gettext-0.17 )
-	java? ( >=virtual/jdk-1.4 dev-java/gjdoc )"
+	java? ( >=virtual/jdk-1.4 doc? ( dev-java/gjdoc ) )"
 RDEPEND="${COMMON_DEPEND}
 	nls? ( virtual/libintl )
 	java? ( >=virtual/jre-1.4 )"
Comment 1 Michel Ganguin 2010-10-10 23:07:06 UTC
with this fix on my system depclean propose me to unmerge as much as five packages:

- dev-java/gjdoc
- app-text/docbook-sgml-dtd
- app-text/openjade
- app-text/docbook-dsssl-stylesheets
- dev-java/antlr
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-11 20:29:18 UTC
(In reply to comment #1)
> with this fix on my system depclean propose me to unmerge as much as five
> packages:
> 
> - dev-java/gjdoc
> - app-text/docbook-sgml-dtd
> - app-text/openjade
> - app-text/docbook-dsssl-stylesheets
> - dev-java/antlr

That isn't really to the point, as depclean would remove those even /with/ USE=doc, with DEPEND being what it currently is for libidn.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-11 20:32:25 UTC
Fixed without a revision bump. Thanks for reporting.