[148744] trunk/dports/devel/apache-ant/Portfile

blair at macports.org blair at macports.org
Mon May 16 09:20:26 PDT 2016


Revision: 148744
          https://trac.macports.org/changeset/148744
Author:   blair at macports.org
Date:     2016-05-16 09:20:26 -0700 (Mon, 16 May 2016)
Log Message:
-----------
apache-ant: use the java portgroup to set JAVA_HOME; suggested by ryandesign.

Modified Paths:
--------------
    trunk/dports/devel/apache-ant/Portfile

Modified: trunk/dports/devel/apache-ant/Portfile
===================================================================
--- trunk/dports/devel/apache-ant/Portfile	2016-05-16 08:00:43 UTC (rev 148743)
+++ trunk/dports/devel/apache-ant/Portfile	2016-05-16 16:20:26 UTC (rev 148744)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup               java 1.0
 
 name                    apache-ant
 version                 1.9.7
@@ -34,10 +35,6 @@
 
 build.cmd               true
 
-platform darwin {
-        build.env       JAVA_HOME=[exec /usr/libexec/java_home]
-}
-
 # Ant is installed from the binary (jar) distribution by default. Due to
 # bootstrapping issues, the source variant generally doesn't build a very
 # usable ant: the ant tasks (such as junit) are non-functional as their
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160516/afbb4dfb/attachment.html>


More information about the macports-changes mailing list