aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndré Erdmann <dywi@mailerd.de>2013-07-10 16:29:07 +0200
committerAndré Erdmann <dywi@mailerd.de>2013-07-10 16:29:07 +0200
commit509b653311036616423e7cdf70f9bc8cb16a37dd (patch)
tree133c81c7c7397b0bf12599553dac9559e9af147c /config
parentroverlay/db/distmap: add todo note (diff)
downloadR_overlay-509b653311036616423e7cdf70f9bc8cb16a37dd.tar.gz
R_overlay-509b653311036616423e7cdf70f9bc8cb16a37dd.tar.bz2
R_overlay-509b653311036616423e7cdf70f9bc8cb16a37dd.zip
config/simple-deprules.d: add SLOTted jdk rule
Diffstat (limited to 'config')
-rw-r--r--config/simple-deprules.d/dev11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/simple-deprules.d/dev b/config/simple-deprules.d/dev
index 9c256e8..fe3f41c 100644
--- a/config/simple-deprules.d/dev
+++ b/config/simple-deprules.d/dev
@@ -35,6 +35,17 @@ dev-util/cmake {
cmake (http://www.cmake.org)
}
+# resolve "java 5", "java 1.5" ... as 'virtual/jdk:1.5'
+~virtual/jdk:slotparts=i1.5:restrict=1.5,5.0 {
+ java
+ Java 1.4 or later
+ Java version
+ java runtime
+}
+
+# slot-relative rules take precedence
+# TODO: slot-restricted rules should get a lower priority
+# than "catch-all" slot rules
~virtual/jdk {
java
Java 1.4 or later