View Single Post
  #5   (View Single Post)  
Old 3rd September 2012
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Quote:
On install I was prompted to either choose jre (choice 1) or jdk (choice0) as a dependency for thinkingrock..
The jdk port uses subpackages. The port contains both a jdk package and a jre package.

(See FAQ 15.3.8 for a discussion of subpackages and flavors.)


Examining the +CONTENTS file for the thinkingrock package, I see:
Code:
@depend devel/jdk/1.6,-main:jdk->=1.6.0|jre->=1.6.0:jdk-1.6.0.03p17
This is why you were offered the option to choose. Either the main package or the jre package are acceptable.

If you wish to switch which dependency is used, you will need to delete both jdk and thinkingrock, then reinstall thinkingrock, this time selecting jre.

You must do this because the dependency chain is recorded in the package database (located in /var/db/pkg) in +REQUIRED_BY and +REQUIRING records.
Reply With Quote