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 | 07bd8e1fadbd6da5c5ae0272be8dbd52887e27ce (patch) | |
tree | bd903ae50ca9f02ccb5bb21ee12f84e3c2552408 /mk/java-vm.mk | |
parent | 4e5a6e32a8773c1b0568ecb02610db17b9fa16c3 (diff) | |
download | pkgsrc-07bd8e1fadbd6da5c5ae0272be8dbd52887e27ce.tar.gz |
Set ONLY_FOR_PLATFORM based on the _ONLY_FOR_PLATFORM for each accepted JVM.
Diffstat (limited to 'mk/java-vm.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_}} |