From owner-freebsd-ports@FreeBSD.ORG Sat Apr 26 19:08:26 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2E13FD6 for ; Sat, 26 Apr 2014 19:08:26 +0000 (UTC) Received: from mailrelay004.isp.belgacom.be (mailrelay004.isp.belgacom.be [195.238.6.170]) by mx1.freebsd.org (Postfix) with ESMTP id 8F4D31A76 for ; Sat, 26 Apr 2014 19:08:26 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlgGADIDXFNR8aN3/2dsb2JhbABYgwZPxTSBChd0giUBAQU6HCMQCxgJJQ8qHgYciDwBCMldF44mMweEOQSZC4E7iTmHa4FygUE7 Received: from 119.163-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.163.119]) by relay.skynet.be with ESMTP; 26 Apr 2014 21:08:18 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.8/8.14.8) with ESMTP id s3QJ8HgP051716; Sat, 26 Apr 2014 21:08:17 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Sat, 26 Apr 2014 21:08:17 +0200 From: Tijl Coosemans To: "O. Hartmann" 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2014 19:08:27 -0000 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.