From owner-freebsd-ports Sun Mar 11 11:30:53 2001 Delivered-To: freebsd-ports@freebsd.org Received: from no-nonsense.org (kbl-mdb539.zeelandnet.nl [62.238.2.31]) by hub.freebsd.org (Postfix) with ESMTP id 4B53F37B718 for ; Sun, 11 Mar 2001 11:30:50 -0800 (PST) (envelope-from petercv@zeelandnet.nl) Received: from peter (peter.home [10.0.0.2]) by no-nonsense.org (8.11.3/8.11.3) with SMTP id f2BJUn839178 for ; Sun, 11 Mar 2001 20:30:49 +0100 (CET) (envelope-from petercv@zeelandnet.nl) Message-ID: <010701c0aa62$42049f50$0200000a@peter> From: "Peter C. Verhage" To: Subject: Ports which use a JDK Date: Sun, 11 Mar 2001 20:34:15 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org There should be some clever check within the ports system that can make it possible to have an dependency that can be one of multiple other ports. E.g. Apache-Jserv can be used if you use jdk-1.1.8, jdk-1.2.2, linux-jdk1.2.2, linux-jdk1.3.0 but the port will only compile if you use the first one... So everytime I want to install a port like Apache-Jserv that uses a JDK, I have to manually change the Makefile to point to another JDK port. This is not such a big deal, but I think the ports system could check if one of the above is available instead of just checking for one. And maybe if it doesn't find one of the above the user could represented with an option to compile one of the above... I noticed the PostgreSQL 7.0.3 seems a bit smarter, because in of the scripts it uses it checks for jdk1.1.8 or jdk1.2.2 but it still isn't perfect because it doesn't check for the linux ports, and this is not something the Makefile seems to support on it's own, because it has been hacked into the special script... Another thing I noticed are the phpPgAdmin and phpMyAdmin ports, they also have to check for either PHP3 or PHP4, but instead of checking this on their own you have to compile it (if you want to use with PHP4) with the command line option -DWITH_PHP4. Some structure like that could also be used for the ports that depend on a certain JDK... I hope this is the correct e-mail address to report this kind of issues. Feel free to contact me if you have any questions about what the hell I'm exactly meaning with the above ;) Regards, Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message