tech-pkg archive

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

mk/java-vm.mk



It seems that mk/java-vm.mk is the means of determining which java
version to install for packages the have dependencies on java.  While
pkgsrc does have a sun-jdk15 package that can be installed on a Linux
x86_64 machine, there is no indication of such in the definition of
_ONLY_FOR_PLATFORMS.sun-jdk15 in java-vm.mk.  Consequently, I am
finding that packages requiring that dependency are reporting that no
suitable VM exists.  The following patch fixes that immediate problem.

--- java-vm.mk.orig     2008-03-25 07:41:44.000000000 -0600
+++ java-vm.mk  2008-09-30 11:52:26.411110000 -0600
@@ -123,7 +123,7 @@
        Darwin-[8-9].*-* \
        DragonFly-*-i386 \
        FreeBSD-6.*-i386 \
-       Linux-*-i[3-6]86 \
+       Linux-*-i[3-6]86 Linux-*-x86_64 \
        NetBSD-*-i386 NetBSD-*-x86_64
 _ONLY_FOR_PLATFORMS.sun-jdk6= \
        DragonFly-*-i386 \

However, I am not really sure if this is appropriate and correct.  I
am also not sure if the obvious additions for the other
_ONLY_FOR_PLATFORM.* variables are appropriate.

Is this the correct thing to be doing?

Thanks for your help.

Cheers,
Brook


Home | Main Index | Thread Index | Old Index