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

blair at macports.org blair at macports.org
Sat May 14 19:16:09 PDT 2016


Revision: 148683
          https://trac.macports.org/changeset/148683
Author:   blair at macports.org
Date:     2016-05-14 19:16:09 -0700 (Sat, 14 May 2016)
Log Message:
-----------
apache-ant: build +source variant build failure.

bash-3.2# /opt/local/bin/port -v build apache-ant +source
--->  Fetching distfiles for apache-ant
--->  Verifying checksums for apache-ant
--->  Checksumming apache-ant-1.9.7-src.tar.bz2
--->  Extracting apache-ant
--->  Extracting apache-ant-1.9.7-src.tar.bz2
--->  Configuring apache-ant
--->  Building apache-ant
Error: JAVA_HOME is not defined correctly.
  We cannot execute /Library/Java/Home/bin/java
Bootstrap FAILED
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apache-ant/apache-ant/work/apache-ant-1.9.7" && ./build.sh dist -Dchmod.fail=false -Ddist.name=apache-ant 
Exit code: 1

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

Modified: trunk/dports/devel/apache-ant/Portfile
===================================================================
--- trunk/dports/devel/apache-ant/Portfile	2016-05-15 02:10:01 UTC (rev 148682)
+++ trunk/dports/devel/apache-ant/Portfile	2016-05-15 02:16:09 UTC (rev 148683)
@@ -35,7 +35,7 @@
 build.cmd               true
 
 platform darwin {
-    build.env           JAVA_HOME=/Library/Java/Home
+        build.env       JAVA_HOME=[exec /usr/libexec/java_home]
 }
 
 # Ant is installed from the binary (jar) distribution by default. Due to
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160514/7cea6796/attachment.html>


More information about the macports-changes mailing list