From owner-freebsd-ports Sat Nov 24 2:10: 1 2001 Delivered-To: freebsd-ports@freebsd.org Received: from straylight.ringlet.net (discworld.nanolink.com [217.75.135.248]) by hub.freebsd.org (Postfix) with SMTP id C0F3437B416 for ; Sat, 24 Nov 2001 02:09:49 -0800 (PST) Received: (qmail 2816 invoked by uid 1000); 24 Nov 2001 10:09:12 -0000 Date: Sat, 24 Nov 2001 12:09:12 +0200 From: Peter Pentchev To: portmgr@FreeBSD.org Cc: ports@FreeBSD.org Subject: CONFIGURE_TARGET [Was: Re: cvs commit: ports/shells/bash2 Makefile] Message-ID: <20011124120912.A722@straylight.oblivion.bg> Mail-Followup-To: portmgr@FreeBSD.org, ports@FreeBSD.org References: <200111231540.fANFeQj83655@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200111231540.fANFeQj83655@freefall.freebsd.org>; from sobomax@FreeBSD.org on Fri, Nov 23, 2001 at 07:40:26AM -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Nov 23, 2001 at 07:40:26AM -0800, Maxim Sobolev wrote: > sobomax 2001/11/23 07:40:26 PST > > Modified files: > shells/bash2 Makefile > Log: > Override CONFIGURE_TARGET, so that this configure script generated by > autoconf-2.52 doesn't generate a warning. Is there a reason to do this piecemeal instead of applying something like the attached patch and then hunting down the ports that have already done it piecemeal? :) Would some configure scripts break if 'unknown' is explicitly specified as a host type? G'luck, Peter -- If there were no counterfactuals, this sentence would not have been paradoxical. Index: ports/Mk/bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.393 diff -u -r1.393 bsd.port.mk --- ports/Mk/bsd.port.mk 17 Nov 2001 21:35:39 -0000 1.393 +++ ports/Mk/bsd.port.mk 24 Nov 2001 10:07:19 -0000 @@ -390,7 +390,7 @@ # (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}--freebsd${OSREL}). +# defined (default: ${MACHINE_ARCH}-unknown-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} @@ -1318,7 +1318,7 @@ .endif CONFIGURE_SCRIPT?= configure -CONFIGURE_TARGET?= ${MACHINE_ARCH}--freebsd${OSREL} +CONFIGURE_TARGET?= ${MACHINE_ARCH}-unknown-freebsd${OSREL} CONFIGURE_LOG?= config.log .if defined(GNU_CONFIGURE) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message