Ignore:
Timestamp:
Aug 23, 2012, 8:00:17 PM (7 years ago)
Author:
ciserlohn@…
Message:

java-1.0.tcl: don't call find_java_home repeatedly; make JAVA_HOME available as a variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/java-1.0.tcl

    r96958 r96985  
    7272
    7373# Set the best value we can find for JAVA_HOME
    74 configure.env   JAVA_HOME=[find_java_home]
    75 build.env       JAVA_HOME=[find_java_home]
    76 destroot.env    JAVA_HOME=[find_java_home]
     74set java_home [find_java_home]
     75configure.env   JAVA_HOME=${java_home}
     76build.env       JAVA_HOME=${java_home}
     77destroot.env    JAVA_HOME=${java_home}
Note: See TracChangeset for help on using the changeset viewer.