Automated fix for automake 1.13 changes

Ryan Schmidt ryandesign at macports.org
Sun Jan 20 03:34:58 PST 2013


On Jan 19, 2013, at 20:26, Adam Mercer wrote:
> On Sat, Jan 19, 2013 at 5:35 PM, Ryan Schmidt wrote:
>> As was remarked earlier, there seem to be a lot of packages affected by the automake 1.13 changes, mainly the change from AM_CONFIG_HEADER to AC_CONFIG_HEADERS. In #37712 it was suggested that we should have a way to fix all of these ports at once.
>> 
>> https://trac.macports.org/ticket/37712
>> 
>> I initially said I wasn't sure how we would do that, so I thought I'd throw the problem to the list. Should we continue to fix each port individually? The usual reason to do so is so that we can send the patches upstream, but in many cases the software in question is old (i.e. in #37712 it's libxml version 1.x) and upstream will never update it.
>> 
>> We could possibly develop a bullet-proof reinplace that we could run in pre-configure on all configure.ac and configure.in files in the tarball. This could be placed in a portgroup which we could include in affected ports, or even better could be done by base automatically on all ports, if we get a new base version out soon. Usually I would not advocate this but I must admit it is tedious for both users and committers to have to do this one port at a time. If we are concerned that the reinplace is not bullet-proof and will cause problems, we could make it happen only when use_autoreconf or use_autoconf is yes, but there are several ports that manually run autoreconf without those keywords, so perhaps there could be a new keyword use_autoconf_1_13_fixes or something to allow ports to opt in even if use_auto(re)conf is not used.
> 
> It seems that upstream are thinking of adding these macros back into automake:
> 
> <http://lists.gnu.org/archive/html/automake-patches/2013-01/msg00140.html>
> 
> I'm not sure what the plans for the future are but it looks like they
> may be back in automake-1.13.2 so we may not need to modify the ports,
> at least for the time being...


That's good to hear! In that case I'm much happier to just wait for 1.13.2.





More information about the macports-dev mailing list