[148665] trunk/dports/net/aria2/Portfile

ionic at macports.org ionic at macports.org
Fri May 13 17:16:17 PDT 2016


Revision: 148665
          https://trac.macports.org/changeset/148665
Author:   ionic at macports.org
Date:     2016-05-13 17:16:17 -0700 (Fri, 13 May 2016)
Log Message:
-----------
aria2: fix builds in trace mode and potentially also normal mode.

use_autoreconf must either be set after settings depends_*, or depends_*
replaced with depends_*-append.

The former situation (use_autoreconf yes before depends_*) lead to the
automatic dependencies that were added by base due to use_autoreconf to
be overwritten by the "normal" dependencies specified afterwards.

Thus, "use_autoreconf yes" essentially had no effect.

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

Modified: trunk/dports/net/aria2/Portfile
===================================================================
--- trunk/dports/net/aria2/Portfile	2016-05-14 00:02:30 UTC (rev 148664)
+++ trunk/dports/net/aria2/Portfile	2016-05-14 00:16:17 UTC (rev 148665)
@@ -18,11 +18,14 @@
 checksums           rmd160  e2707838c89a42d3e05512631132b93508f7850b \
                     sha256  ac3fb3f33a76ce22f968ace293445ef64c201b0ae43aef21e664e4b977e34f89
 
-use_autoreconf      yes
-
 depends_build       port:pkgconfig
 depends_lib         port:gettext port:libiconv port:gnutls port:libxml2
 
+# use_* must be defined after depends_*, otherwise the automatic dependencies
+# will be overwritten.
+# Alternatively, depends_*-append could be used.
+use_autoreconf      yes
+
 configure.cxxflags-append "-I${prefix}/include/libxml2"
 configure.args      --with-gnutls --with-libgnutls-prefix=${prefix} \
                     --with-libiconv-prefix=${prefix} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160513/88badedf/attachment.html>


More information about the macports-changes mailing list