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
commitd093329b8cd63aed3e8ad637861f644a4b6f0fa3 (patch)
tree85908998c54e1a27cbffc759c38f5b3392a2a81a /mk
parent06560370f42e77053238a19e845ae7a80729c834 (diff)
downloadpkgsrc-d093329b8cd63aed3e8ad637861f644a4b6f0fa3.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