From owner-freebsd-ports@FreeBSD.ORG Fri Jan 9 08:32:48 2004 Return-Path: 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 3CE3816A4CE for ; Fri, 9 Jan 2004 08:32:48 -0800 (PST) Received: from lilith.bellavista.cz (bellavista.worldonline.cz [212.90.245.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2877C43D5D for ; Fri, 9 Jan 2004 08:32:46 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by lilith.bellavista.cz (Postfix) with ESMTP id 74E655C for ; Fri, 9 Jan 2004 17:32:20 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 40B6F2FDA09; Fri, 9 Jan 2004 17:32:20 +0100 (CET) Date: Fri, 9 Jan 2004 17:32:20 +0100 From: Roman Neuhauser To: freebsd-ports Message-ID: <20040109163220.GB5994@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-ports Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: CONFIGURE_TARGET X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 16:32:48 -0000 bsd.port.mk defines CONFIGURE_TARGET?= ${MACHINE_ARCH}-portbld-freebsd${OSREL} but porters-handbook/makefile-build.html says Note: If your package uses GNU configure, and the resulting executable file has a ``strange'' name like i386-portbld-freebsd4.7-appname, you will need to additionally override the CONFIGURE_TARGET variable to specify the target in the way required by scripts generated by recent versions of autoconf. Add the following line immediately after the GNU_CONFIGURE=yes line in your Makefile: CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} now, couple of questions: * what is the first recent of version of autoconf to require --build=? * what is the percentage of ports that want --build=? (IOW, wouldn't it already make more sense to make that the default value in bsd.port.mk? * how about suggesting CONFIGURE_TARGET:=--build=${CONFIGURE_TARGET} instead? * can't the value be decided automagically? e. g. CONFIGURE_TARGET!=.../configure --help|grep -Fe --build... -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html