Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 21:08:17 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Port's Makefile: aclocal implies the use of automake, but does not respect AUTOMAKE_ARGS
Message-ID:  <20140426210817.0333b585@kalimero.tijl.coosemans.org>
In-Reply-To: <20140426201849.303058fd.ohartman@zedat.fu-berlin.de>
References:  <20140426201849.303058fd.ohartman@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Apr 2014 20:18:49 +0200 O. Hartmann wrote:
> 
> I have a problem with porting. The handbook states, see
> http://www.freebsd.org/doc/en/books/porters-handbook/using-autotools.html,
> that aclocal implies the ussage of automake.
> 
> Consider this line in the port's Makefile:
> 
> USE_AUTOTOOLS=  libltdl aclocal autoheader
> 
> The software comes with the basis of Makefile.am an configure.ac, so I have to go through
> the configure steps of the GNU autotools. Having the the USE_AUTOTOOLS= set as above and
> having the sentence from the porter's handbook in mind, the configure process fails with
> "missing". To avoid those messages, I have to add  
> 
> AUTOMAKE_ARGS+= -a
> 
> for --add-missing in automake.
> 
> Having USE_AUTOTOOLS=  libltdl aclocal autoheader automake set, AUTOMAKE_ARGS+= -a is
> respected. Omit automake from USE_AUTOTOOLS= results in a non-respected AUTOMAKE_ARGS+=
> -a and a lot of typical missing errors.
> 
> Something is wrong in the logic! Either the porter's handbook is wrong or I'm missing
> some knob.

The handbook is incorrect.  aclocal does not imply automake, it implies
automake:env.  So you have to add automake to USE_AUTOTOOLS.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140426210817.0333b585>