Ignore:
Timestamp:
Apr 1, 2005, 4:46:48 AM (14 years ago)
Author:
jberry
Message:

Update to use more stable default location for JAVA_HOME.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/mod_jk2/Portfile

    r9794 r11557  
    1 # $Id: Portfile,v 1.5 2004/12/16 03:33:09 jberry Exp $
     1# $Id: Portfile,v 1.6 2005/04/01 04:46:48 jberry Exp $
    22
    33PortSystem 1.0
     
    4242if { ![file isdirectory ${javahome}] } {
    4343        if { [variant_isset darwin] } {
    44                 if { [file isdirectory "/Library/Java/Home"] } {
    45                         set javahome "/Library/Java/Home"
     44                if { [file isdirectory "/System/Library/Frameworks/JavaVM.framework/Home"] } {
     45                        set javahome "/System/Library/Frameworks/JavaVM.framework/Home"
    4646                }
    4747        }
Note: See TracChangeset for help on using the changeset viewer.