From owner-freebsd-ports@FreeBSD.ORG Fri Jun 17 01:21:59 2005 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3BB416A41C for ; Fri, 17 Jun 2005 01:21:59 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: from mail3out.barnet.com.au (mail3out.barnet.com.au [202.83.176.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CCCE43D48 for ; Fri, 17 Jun 2005 01:21:58 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail3out.barnet.com.au (Postfix, from userid 27) id 5F77C877CB0; Fri, 17 Jun 2005 11:21:57 +1000 (EST) X-Viruscan-Id: <42B225B5000051212B801D@BarNet> Received: from mail3-auth.barnet.com.au (mail3.barnet.com.au [202.83.176.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.barnet.com.au", Issuer "BarNet Root Certificate Authority" (verified OK)) by mail3.barnet.com.au (Postfix) with ESMTP id 391A7877CAA for ; Fri, 17 Jun 2005 11:21:57 +1000 (EST) Received: from k7.mavetju (r220-101-29-114.cpe.unwired.net.au [220.101.29.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "edwin.adsl.barnet.com.au", Issuer "BarNet Root Certificate Authority" (not verified)) by mail3-auth.barnet.com.au (Postfix) with ESMTP id 8E3AA877CA1 for ; Fri, 17 Jun 2005 11:21:56 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 44DDF614C; Fri, 17 Jun 2005 11:21:47 +1000 (EST) Date: Fri, 17 Jun 2005 11:21:47 +1000 From: Edwin Groothuis To: ports@FreeBSD.org Message-ID: <20050617012147.GA79443@k7.mavetju> References: <42B21E9D.80709@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42B21E9D.80709@FreeBSD.org> User-Agent: Mutt/1.5.9i Cc: Subject: Re: Proposed rework of autotools call structure from port Makefiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 01:21:59 -0000 On Thu, Jun 16, 2005 at 05:51:41PM -0700, Ade Lovett wrote: > http://people.FreeBSD.org/~ade/autotools.html For people who don't understand the :env part of it, here is an irc-log of it: [Mavvie] ade: I don't understand the necessarity for the :env one, since it's only a configure phase issue and not a build phase issue. [ade] well, I need to be able to differentiate somehow between [Mavvie] or in other words, is there a reason why some ports need it during the configure phase. [ade] USE_AUTOCONF_VER= 213 [ade] and WANT_AUTOCONF_VER=213 [ade] yes [Mavvie] let me rephrase the question. [ade] grep for just those two across ports/*/*/Makefile [Mavvie] What is the reason why some ports need it during the build phase, but not during the configure phase? [ade] poorly written configure scripts [ade] and a lot of legacy [Mavvie] will they break when it is there during the configure phase? [ade] some software makes use of the tools, but patches 'configure' [ade] other makes use of the tools, but patches (correctly) 'configure.in', which is then autoregenerated [ade] yes, they break badly [Mavvie] aha. [Mavvie] so the best way would be to fix all files/patch-configures into files/patch-configure.ins [ade] right. which is a lot of ports. [ade] ie: very unlikely to happen [Mavvie] aha, okay now I get it. * Mavvie just needs to be on the right track. [ade] then you throw in automake [ade] where now you're going configure.am -> configure.in -> configure :) Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/