summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-11 14:49:44 +0000
committermarino <marino@pkgsrc.org>2012-08-11 14:49:44 +0000
commit296c39bd8f69d6535cb92349dcb821fc12c27f30 (patch)
tree85908998c54e1a27cbffc759c38f5b3392a2a81a /mk
parent312a6f49e65be527d8950a5bf34c33c0067a2bed (diff)
downloadpkgsrc-296c39bd8f69d6535cb92349dcb821fc12c27f30.tar.gz
mk/java-vm.mk: Defined default VM for DragonFly
DragonFly wants openJDK7 for java packages, not Kaffe. Set the default to reflect that.
Diffstat (limited to 'mk')
-rw-r--r--mk/java-vm.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/java-vm.mk b/mk/java-vm.mk
index f45d8ed819e..24df44816b0 100644
--- a/mk/java-vm.mk
+++ b/mk/java-vm.mk
@@ -1,4 +1,4 @@
-# $NetBSD: java-vm.mk,v 1.86 2012/05/14 06:06:43 dholland Exp $
+# $NetBSD: java-vm.mk,v 1.87 2012/08/11 14:49:44 marino Exp $
#
# This Makefile fragment handles Java dependencies and make variables,
# and is meant to be included by packages that require Java either at
@@ -104,6 +104,8 @@ _PKG_JVM_DEFAULT?= sun-jdk6
_PKG_JVM_DEFAULT?= sun-jdk6
. elif !empty(MACHINE_PLATFORM:MSunOS-5.11-i386)
_PKG_JVM_DEFAULT?= sun-jdk6
+. elif !empty(MACHINE_PLATFORM:MDragonFly-*-*)
+_PKG_JVM_DEFAULT?= openjdk7
. else
_PKG_JVM_DEFAULT?= kaffe
. endif