Subject: Re: java apps under macosx
To: None <tech-pkg@netbsd.org>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: tech-pkg
Date: 05/06/2004 15:06:59
Hi all,

since no answer came, i just removed the .include "../../mk/java-vm.mk" in
apache-ant makefile ant textproc/crimson Makefiles, but this is not a "nice"
solution

I wonder why this java-vm.mk doesn't use the _OPSYS_HAS_JAVA=yes in mk/defs.*,
and not requiring to build a sdk if there is a standard sdk ?

there is probably a real good reason, but i can't figure out what

	antoine

On Sun, Apr 25, 2004 at 02:10:27AM +0200, Antoine Reilles wrote:
> 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
> 
>