From: "Petteri Räty" <betelgeuse@gentoo.org>
To: gentoo-java@lists.gentoo.org
Subject: [gentoo-java] Support for use flag based selection of jdk/jre
Date: Fri, 01 Dec 2006 23:19:52 +0200 [thread overview]
Message-ID: <45709C78.4030406@gentoo.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 823 bytes --]
I just finished writing patches that should enable you to use the
following DEPEND:
C_DEP="
dev-java/sun-jaf
!java5? ( dev-libs/cyrus-sasl )"
DEPEND="
java5? ( >=virtual/jdk-1.5 )
!java5? ( >=virtual/jdk-1.4 )
dev-java/ant-core
${C_DEP}
source? ( app-arch/zip )"
RDEPEND="
java5? ( >=virtual/jre-1.5 )
!java5? ( >=virtual/jre-1.4 )
${C_DEP}"
http://dev.gentoo.org/~betelgeuse/patches/java-util-2.eclass-use.patch
http://dev.gentoo.org/~betelgeuse/patches/versionmanager-use-flags.patch
Of course we could do the parsing using our own code instead of using
portage directly. IMHO it would be the best to have some kind of API
ebuilds could use against the package manager to do these kinds of
things. It's a bit hackish so I don't know yet if I will commit these.
Regards,
Petteri
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
reply other threads:[~2006-12-01 21:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45709C78.4030406@gentoo.org \
--to=betelgeuse@gentoo.org \
--cc=gentoo-java@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox