From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 3 16:20:02 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 326C037B401 for ; Tue, 3 Jun 2003 16:20:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C4A543FA3 for ; Tue, 3 Jun 2003 16:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h53NK1Up081669 for ; Tue, 3 Jun 2003 16:20:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h53NK1v4081668; Tue, 3 Jun 2003 16:20:01 -0700 (PDT) Resent-Date: Tue, 3 Jun 2003 16:20:01 -0700 (PDT) Resent-Message-Id: <200306032320.h53NK1v4081668@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergei Kolobov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C16DF37B401 for ; Tue, 3 Jun 2003 16:13:09 -0700 (PDT) Received: from outpost.globcon.net (outpost.globcon.net [62.141.88.161]) by mx1.FreeBSD.org (Postfix) with SMTP id E3BF843F93 for ; Tue, 3 Jun 2003 16:13:07 -0700 (PDT) (envelope-from sgk@kolobov.com) Received: (qmail 95089 invoked from network); 3 Jun 2003 23:13:04 -0000 Received: from h166.lukarcos.com (HELO kolobov.com) (62.141.88.166) by outpost.globcon.net with SMTP; 3 Jun 2003 23:13:04 -0000 Received: (qmail 81095 invoked by uid 911); 3 Jun 2003 23:10:18 -0000 Message-Id: <20030603231018.81094.qmail@kolobov.com> Date: 3 Jun 2003 23:10:18 -0000 From: Sergei Kolobov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/52917: [PATCH] bsd.port.mk: update default value of CONFIGURE_TARGET X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 23:20:02 -0000 >Number: 52917 >Category: ports >Synopsis: [PATCH] bsd.port.mk: update default value of CONFIGURE_TARGET >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 03 16:20:00 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 5.1-BETA i386 >Organization: >Environment: System: FreeBSD elf.chetwood.ru 5.1-BETA FreeBSD 5.1-BETA #0: Mon May 26 00:30:25 MSD 2003 >Description: Recent autoconf (2.5x) produces configure scripts which do not like our current default value of CONFIGURE_TARGET variable. In the recent versions of configure, it has to be passed as --build=... argument. Thus, 477 ports currently redefine CONFIGURE_TARGET to silence the configure warning. (and I am sure that some more ports just ignore this warning). Since more and more software packages are updated to use autoconf 2.5x, this quickly becomes a very common situation and it makes sense to deal with it by change the default value of CONFIGURE_TARGET (see patch below). Note: quick testing shows that this change does NOT break configure scripts produced by older (2.13) versions of autoconf. In addition to that, those ports that truly require the old value of CONFIGURE_TARGET could define it in their Makefile. I estimate that only few ports (if any at all) will need that. On the other hand, the majority of the ports will benefit from the updated default value. >How-To-Repeat: >Fix: --- configure-target.patch begins here --- Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.451 diff -u -r1.451 bsd.port.mk --- bsd.port.mk 26 May 2003 20:59:12 -0000 1.451 +++ bsd.port.mk 3 Jun 2003 22:57:00 -0000 @@ -608,8 +608,8 @@ # CONFIGURE_SCRIPT - Name of configure script, relative to ${CONFIGURE_WRKSRC} # (default: "Makefile.PL" if PERL_CONFIGURE is set, # "configure" otherwise). -# CONFIGURE_TARGET - The name of target to call when GNU_CONFIGURE is -# defined (default: ${MACHINE_ARCH}-portbld-freebsd${OSREL}). +# CONFIGURE_TARGET - The name of target to call when GNU_CONFIGURE is defined +# (default: --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}). # CONFIGURE_ARGS - Pass these args to configure if ${HAS_CONFIGURE} is set # (default: "--prefix=${PREFIX} ${CONFIGURE_TARGET}" if # GNU_CONFIGURE is set, "CC=${CC} CCFLAGS=${CFLAGS} @@ -2124,7 +2124,7 @@ .endif CONFIGURE_SCRIPT?= configure -CONFIGURE_TARGET?= ${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET?= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_LOG?= config.log .if defined(GNU_CONFIGURE) --- configure-target.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: