[96985] trunk/dports/_resources/port1.0/group/java-1.0.tcl

ciserlohn at macports.org ciserlohn at macports.org
Thu Aug 23 13:00:17 PDT 2012


Revision: 96985
          https://trac.macports.org/changeset/96985
Author:   ciserlohn at macports.org
Date:     2012-08-23 13:00:17 -0700 (Thu, 23 Aug 2012)
Log Message:
-----------
java-1.0.tcl: don't call find_java_home repeatedly; make JAVA_HOME available as a variable

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/java-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/java-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/java-1.0.tcl	2012-08-23 19:59:10 UTC (rev 96984)
+++ trunk/dports/_resources/port1.0/group/java-1.0.tcl	2012-08-23 20:00:17 UTC (rev 96985)
@@ -71,6 +71,7 @@
 }
 
 # Set the best value we can find for JAVA_HOME
-configure.env   JAVA_HOME=[find_java_home]
-build.env       JAVA_HOME=[find_java_home]
-destroot.env    JAVA_HOME=[find_java_home]
+set java_home [find_java_home]
+configure.env   JAVA_HOME=${java_home}
+build.env       JAVA_HOME=${java_home}
+destroot.env    JAVA_HOME=${java_home}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120823/0072719e/attachment.html>


More information about the macports-changes mailing list