Summary: | dev-lang/scala-2.9.1 with USE=binary should not depend on ant | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joel <joel486> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch for the scala-2.9.1 ebuild that removes the dependence on ant when USE=binary is set
Patch for 2.9.2 against my 2.9.1 ebuild |
Description
Joel
2012-01-31 23:01:59 UTC
Another solution would be to remove WANT_ANT_TASKS, set JAVA_ANT_DISABLE_ANT_CORE_DEP=yes and add !binary? ( dev-java/ant-core:0 dev-java/ant-nodeps:0 ) to DEPEND. Created attachment 303769 [details, diff]
Patch for the scala-2.9.1 ebuild that removes the dependence on ant when USE=binary is set
Thanks for the information. That works, which means there's no need to split out a separate scala-bin package.
I'm attaching a patch that works for me with USE=binary (I haven't tested it with USE=-binary). I additionally changed to using the upstream binary package and made the dependence on xz-utils conditional on USE=-binary. The final few lines of the patch deal with the fact that the source and binary packages have slightly different directory structures.
Created attachment 310597 [details, diff]
Patch for 2.9.2 against my 2.9.1 ebuild
Scala 2.9.2 seems to change the filenames. This patch against my 2.9.1 ebuild works for me with USE=binary.
Fixed in dev-lang/scala-2.10.3. Thanks to Joel for reporting and testing, thanks to sera for the fix. |