From owner-cvs-ports@FreeBSD.ORG Thu Aug 21 07:10:07 2008 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 2D1CD1065675; Thu, 21 Aug 2008 07:10:07 +0000 (UTC) Date: Thu, 21 Aug 2008 07:10:07 +0000 From: Alexey Dokuchaev To: Rong-En Fan Message-ID: <20080821071006.GA21146@FreeBSD.org> References: <200808210618.m7L6InRS071058@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200808210618.m7L6InRS071058@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.gnome.mk bsd.kde.mk bsd.port.mk ports/accessibility/yasr Makefile ports/archivers/advancecomp Makefile ports/archivers/arj Makefile ports/archivers/dact Makefile ports/archivers/gzip Makefile ports/archivers/libmspack ... X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2008 07:10:07 -0000 On Thu, Aug 21, 2008 at 06:18:49AM +0000, Rong-En Fan wrote: > > Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script. > Specifically, newer autoconf (> 2.13) has different semantic of the > configure target. In short, one should use --build=CONFIGURE_TARGET > instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning > and the old semantic may be removed in later autoconf releases. > > To workaround this issue, many ports hack the CONFIGURE_TARGET variable > so that it contains the ``--build='' prefix. > > To solve this issue, under the fact that some ports still have > configure script generated by the old autoconf, we use runtime detection > in the do-configure target so that the proper argument can be used. > > Changes to Mk/*: > - Add runtime detection magic in bsd.port.mk > - Remove CONFIGURE_TARGET hack in various bsd.*.mk > - USE_GNOME=gnometarget is now an no-op Thanks a lot for doing this! ./danfe