pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Add lang/openjdk21-bin?



"J. Lewis Muir" <jlmuir%imca-cat.org@localhost> writes:

> OK, I was unclear again.  Sorry about that.  Yes, I mean that
> lang/openjdk-bin just happens to be version 21, but that could change at
> any time.  I'm wishing for a versioned package so that I can encode in
> the dependency that version 21 is what's wanted.
>
> This is probably also related to me being unclear on what you
> pointed out in your other reply, that you generally don't specify a
> dependency on foo-bin, just foo.

I suggest reading /usr/pkgsrc/mk/java-vm.mk

> But this still seems like a mismatch
> to me in that there's openjdk<version> and openjdk-bin, but not
> openjdk<version>-bin.  So, if openjdk<version> doesn't build for your
> platform and pkgsrc was able to fall back to openjdk-bin because it was
> at <version>, that will break when openjdk-bin gets switched to a newer
> <version>.

It would then end up with not having a bin package.
The overall tone of java-vm.mk is that a newer jdk is always ok.


Home | Main Index | Thread Index | Old Index