when the junit use flag isn't set and junit isn't installed you'll get the error message 'Could not find package junit' while merging commons-logging-1.0.4 because the ebuild calls 'java-config -p junit' regardless of the useflag settings.
Created attachment 46703 [details, diff] commons-logging-1.0.4.ebuild.diff this patch fixes the ebuild
commited