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

blair at macports.org blair at macports.org
Sat May 14 19:10:01 PDT 2016


Revision: 148682
          https://trac.macports.org/changeset/148682
Author:   blair at macports.org
Date:     2016-05-14 19:10:01 -0700 (Sat, 14 May 2016)
Log Message:
-----------
apache-ant: remove post-patch that never applies.

When building with the +source variant, this fails:

--->  Patching ant: s|/System/Library/Frameworks/JavaVM.framework/Home|`/usr/libexec/java_home`|g
Error: reinplace: couldn't read file "/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/bin/ant": no such file or directory

And the path /System/Library/Frameworks/JavaVM.framework/Home doesn't
exist in Apache Ant 1.9.7.

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:03:38 UTC (rev 148681)
+++ trunk/dports/devel/apache-ant/Portfile	2016-05-15 02:10:01 UTC (rev 148682)
@@ -56,10 +56,6 @@
         build.target                    dist
 }
 
-post-patch {
-        reinplace "s|/System/Library/Frameworks/JavaVM.framework/Home|`/usr/libexec/java_home`|g" "${worksrcpath}/bin/ant"
-}
-
 pre-destroot {
         delete \
                 ${worksrcpath}${workTarget}/bin/ant.bat \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160514/dc850094/attachment.html>


More information about the macports-changes mailing list