summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-02-06 10:17:38 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-02-06 10:17:38 +0000
commit2ed8fd129205d0d2193f5731651853bc7a7f499c (patch)
tree1d9ae475d133847b7551513ccd3e6e213314b5ed
parent8610fd86330f6d5c07e276af5ad81cd3f1ecc42c (diff)
downloadpkgsrc-2ed8fd129205d0d2193f5731651853bc7a7f499c.tar.gz
on systems where _PKG_JVM is not set, set PKG_FAIL_REASON and set
_PKG_JVM to "none" to avoid makefile errors.
-rw-r--r--mk/java-vm.mk5
1 files changed, 3 insertions, 2 deletions
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]*