2.0 2.0

Post by Herve Quir » Fri, 20 Jun 2003 03:22:35

Hi Greg and all,

No feedback so far... Should I make and provide a patch for
and some java ports for testing with what we have discussed so far ?



1. 2.0


Here are my ideas for the next major version of

First there are two variable called NO_BUILD_DEPENDS and NO_RUN_DEPENDS. I
propose we only use one: USE_JAVA= [run | build | both]

USE_JAVA was previously used to specify the JDK version number the port
depends on. But as it has been said, it does not allow enough flexibility
nor it does not allow to specify a particular JDK to use. So what about
having three other variables ?

USE_JAVA_VENDOR= [sun | ibm | blackdown]...
USE_JAVA_VERSION= [1.1[+] | 1.2[+] | 1.3[+] | 1.4[+]]
USE_JAVA_OS= [linux | native]

Each of which may be empty or undefined if the choice is not important.
USE_JAVA_VENDOR may contain a list of vendors.

Then if the porter wants a specific JDK, he may use the following:


Where he specifies the directory of the JDK to use (e.g. java/jdk13)

[Optional: USE_JAVA_PORT could also contain several ports...]

Internally, the file manages the dependencies by taking user
preferences into account:

USE_JAVA_PORT contains a list of JDK ports to use ordered by preference.

USE_JAVA_1_{1|2|3|4}_PORTS contains a list of JDK ports to use when a
particular version is required, again ordered by preference.

Then build a list of the JDK specified by the port. Amongst
these ports, it chooses preferably one that is part of the  user choices.
And amongst these resulting ports, it chooses preferably a port that is
already installed.

IMHO it should lessen considerably the complexity and maintenance of as the maintainer needs only to have a generic Makefile and
store JDK ports with variables.

What are your opinions ?



2. Programmers Wanted

3. Can't find information on named pipes (for use in .plan files)

4. Proposal for -- [really about which then gets included]

5. networking with a W2K machine

6. Request for changing and adding (+ruby)

7. installing jdk 1.1.1

8. Request for changing and adding

9. Fwd: cvs commit: ports/Mk

10. java/44041: Generate from an XML file

11. and XML/XSLT Re: java/jdk13 does not autodetect itself