diff options
author | dmcmahill <dmcmahill> | 2003-02-06 10:17:38 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2003-02-06 10:17:38 +0000 |
commit | 4e76def2f45f266a0973c07e73ad93415126fdc6 (patch) | |
tree | 1d9ae475d133847b7551513ccd3e6e213314b5ed /mk | |
parent | c8979880043cbec079065af9f0f0bce74e147f12 (diff) | |
download | pkgsrc-4e76def2f45f266a0973c07e73ad93415126fdc6.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]* |