summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authormarino <marino>2012-08-11 14:49:44 +0000
committermarino <marino>2012-08-11 14:49:44 +0000
commit6cee0f6d0539e48a3ccbfb4b7d7371311b0a2830 (patch)
tree85908998c54e1a27cbffc759c38f5b3392a2a81a /mk
parent31ed80875bdbdd66a393fcb47d4959703b4abdf1 (diff)
downloadpkgsrc-6cee0f6d0539e48a3ccbfb4b7d7371311b0a2830.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