Bug 103112 - log4j-1.2.11 depends on openjms even if USE-flag jms is not set
|
Bug#:
103112
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: java@gentoo.org
|
Reported By: dev-zero@gentoo.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: log4j-1.2.11 depends on openjms even if USE-flag jms is not set
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-08-20 02:08 0000
|
I assume that there is a little typo in the RDEPEND line:
jms? || ( =dev-java/openjms-0.7.6* =dev-java/openjms-bin-0.7.6* )"
which should actually be:
jms? ( =dev-java/openjms-0.7.6* =dev-java/openjms-bin-0.7.6* )"
With the original version, the line
use jms && antflags="${antflags} -Djms.jar=/opt/openjms/lib/jms-1.0.2a.jar"
in src_compile() doesn't really make sense, does it?
Reproducible: Always
Steps to Reproduce:
I think the correct RDEPEND for 'jms' should actually be:
jms? ( || ( =dev-java/openjms-0.7.6* =dev-java/openjms-bin-0.7.6* ) )"
(Added betelgeuse@gentoo.org to CC as he's in cvs $Header:$; hope that's ok)
Well I get the java@gentoo.org email so it is useless to add me to CC. I should
have been more thorough when doing the version bump. Sorry about that. Actually
it is the use jms && antflags="${antflags}
-Djms.jar=/opt/openjms/lib/jms-1.0.2a.jar" that should be fixed.
jms? ( =dev-java/openjms-0.7.6* =dev-java/openjms-bin-0.7.6* )"
This means that both openjms and openjms-bin are needed, which is not the case.
I reverted to the old behaviour because depending on openjms would bring a
circular dependency.
And depending on dev-java/openjms, which depends on dev-java/jms, where the
user has to register at Sun is also not such a good idea, for just having the
log4j emerged...