pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Set ONLY_FOR_PLATFORM based on the _ONLY_FOR_PLATFO...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9058a8f600ef
branches: trunk
changeset: 610652:9058a8f600ef
user: sbd <sbd%pkgsrc.org@localhost>
date: Fri Nov 02 00:48:03 2012 +0000
description:
Set ONLY_FOR_PLATFORM based on the _ONLY_FOR_PLATFORM for each accepted JVM.
diffstat:
mk/java-vm.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 147d776ad0f0 -r 9058a8f600ef mk/java-vm.mk
--- a/mk/java-vm.mk Thu Nov 01 20:05:17 2012 +0000
+++ b/mk/java-vm.mk Fri Nov 02 00:48:03 2012 +0000
@@ -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 @@
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_}}
Home |
Main Index |
Thread Index |
Old Index