diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-06 10:17:38 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-06 10:17:38 +0000 |
commit | 2ed8fd129205d0d2193f5731651853bc7a7f499c (patch) | |
tree | 1d9ae475d133847b7551513ccd3e6e213314b5ed /mk | |
parent | 8610fd86330f6d5c07e276af5ad81cd3f1ecc42c (diff) | |
download | pkgsrc-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.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/java-vm.mk | 5 |
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]* |