Date: Sat, 24 Nov 2001 12:09:12 +0200 From: Peter Pentchev <roam@ringlet.net> 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> In-Reply-To: <200111231540.fANFeQj83655@freefall.freebsd.org>; from sobomax@FreeBSD.org on Fri, Nov 23, 2001 at 07:40:26AM -0800 References: <200111231540.fANFeQj83655@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011124120912.A722>