diff options
author | sbd <sbd@pkgsrc.org> | 2012-11-02 00:48:03 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-11-02 00:48:03 +0000 |
commit | 2a9db2cc8bb6cc698d4c04d8e0493b4491cfabcd (patch) | |
tree | bd903ae50ca9f02ccb5bb21ee12f84e3c2552408 /mk | |
parent | 31dab91067a2cad9c176ecc33af30c9e3e56b491 (diff) | |
download | pkgsrc-2a9db2cc8bb6cc698d4c04d8e0493b4491cfabcd.tar.gz |
Set ONLY_FOR_PLATFORM based on the _ONLY_FOR_PLATFORM for each accepted JVM.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/java-vm.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/java-vm.mk b/mk/java-vm.mk index 24df44816b0..2926b5c38da 100644 --- a/mk/java-vm.mk +++ b/mk/java-vm.mk @@ -1,4 +1,4 @@ -# $NetBSD: java-vm.mk,v 1.87 2012/08/11 14:49:44 marino Exp $ +# $NetBSD: java-vm.mk,v 1.88 2012/11/02 00:48:03 sbd Exp $ # # This Makefile fragment handles Java dependencies and make variables, # and is meant to be included by packages that require Java either at @@ -141,6 +141,11 @@ _ONLY_FOR_PLATFORMS.openjdk7-bin= \ NetBSD-[5-9]*-i386 \ NetBSD-[5-9]*-x86_64 +# Set ONLY_FOR_PLATFORM based on accepted JVMs +.for _jvm_ in ${PKG_JVMS_ACCEPTED} +ONLY_FOR_PLATFORM+= ${_ONLY_FOR_PLATFORMS.${_jvm_}} +.endfor + # Set the accepted JVMs for this platform. .for _jvm_ in ${_PKG_JVMS} . for _pattern_ in ${_ONLY_FOR_PLATFORMS.${_jvm_}} |