Subject: java apps under macosx
To: None <tech-pkg@netbsd.org>
From: Antoine Reilles <tonio@tuxfamily.org>
List: tech-pkg
Date: 04/25/2004 02:10:27
Hi,

I try to install some java packages with pkgsrc, under macosx 10.3.3

MacOSX provides a java sdk, but the apacha-ant port try to install jdk-1.3.
How can I (ant is it possible) use the system's java sdk ?

I get :
$ /usr/pkgsrc/devel/apache-ant tonio$ bmake
===> Checking for vulnerabilities in apache-ant-1.6.1
=> Checksum OK for apache-ant-1.6.1-bin.tar.bz2.
===> Extracting for apache-ant-1.6.1
===> Required package crimson>=1.1.3: NOT found
===> Verifying reinstall for ../../textproc/crimson
===> Checking for vulnerabilities in crimson-1.1.3
=> Checksum OK for crimson-1.1.3-bin.tar.gz.
===> Extracting for crimson-1.1.3
===> Required package sun-jre13-[0-9]*: NOT found
===> Verifying reinstall for ../../lang/sun-jre13
===> Checking for vulnerabilities in sun-jre13-1.0.10
===> Extracting for sun-jre13-1.0.10
===> Patching for sun-jre13-1.0.10
===> Applying pkgsrc patches for sun-jre13-1.0.10
/usr/bin/patch: **** Can't change to directory /Volumes/NetBSD/pkgsrc/lang/sun-jre13/work/jre1.3.1_10 : No such file or directory
Patch /usr/pkgsrc/lang/sun-jre13/patches/patch-aa failed
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/sun-jre13
*** Error code 1