[154160] trunk/dports/net/mtr/Portfile

jmr at macports.org jmr at macports.org
Sun Oct 23 08:43:02 CEST 2016


Revision: 154160
          https://trac.macports.org/changeset/154160
Author:   jmr at macports.org
Date:     2016-10-23 08:43:02 +0200 (Sun, 23 Oct 2016)
Log Message:
-----------
mtr: restore workaround for bad timestamp

Turns out it's still needed with the new version.

Modified Paths:
--------------
    trunk/dports/net/mtr/Portfile

Modified: trunk/dports/net/mtr/Portfile
===================================================================
--- trunk/dports/net/mtr/Portfile	2016-10-23 03:36:13 UTC (rev 154159)
+++ trunk/dports/net/mtr/Portfile	2016-10-23 06:43:02 UTC (rev 154160)
@@ -31,6 +31,13 @@
                     sha256 193947c61d23b154c8dc03677e90e8fd912f8f18567ab76ce619b7856c4af19f
 
 configure.args      --without-gtk
+pre-configure {
+    # For some reason, config.h.in is older than aclocal.m4 and configure.ac,
+    # which causes the mtr build system to attempt to re-generate it.
+    # Re-generating requires an autoconf dependency, so let's avoid it,
+    # especially since the file does not change.
+    file mtime ${worksrcpath}/config.h.in [file mtime ${worksrcpath}/aclocal.m4]
+}
 
 livecheck.type      regex
 livecheck.url       [lindex ${master_sites} 0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161023/6b484f19/attachment-0002.html>


More information about the macports-changes mailing list