From 2ed8fd129205d0d2193f5731651853bc7a7f499c Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Thu, 6 Feb 2003 10:17:38 +0000 Subject: on systems where _PKG_JVM is not set, set PKG_FAIL_REASON and set _PKG_JVM to "none" to avoid makefile errors. --- mk/java-vm.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/java-vm.mk b/mk/java-vm.mk index 7b18e9b8ae7..c9750e7a0d1 100644 --- a/mk/java-vm.mk +++ b/mk/java-vm.mk @@ -1,4 +1,4 @@ -# $NetBSD: java-vm.mk,v 1.7 2003/01/29 20:52:01 jlam Exp $ +# $NetBSD: java-vm.mk,v 1.8 2003/02/06 10:17:38 dmcmahill Exp $ # # This Makefile fragment handles Java dependencies and make variables, # and is meant to be included by packages that require Java either at @@ -173,7 +173,8 @@ _PKG_JVM= ${_PKG_JVM_FIRSTACCEPTED} # .if !defined(_PKG_JVM) # force an error - error: no acceptable JVM found +PKG_FAIL_REASON= "no acceptable JVM found" +_PKG_JVM= "none" .endif BUILDLINK_DEPENDS.jdk?= jdk-[0-9]* -- cgit v1.2.3