From owner-freebsd-ports Mon Oct 26 08:50:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA28096 for freebsd-ports-outgoing; Mon, 26 Oct 1998 08:50:06 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA28089 for ; Mon, 26 Oct 1998 08:50:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA13557; Mon, 26 Oct 1998 08:50:01 -0800 (PST) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA27258; Mon, 26 Oct 1998 08:41:00 -0800 (PST) (envelope-from nobody) Message-Id: <199810261641.IAA27258@hub.freebsd.org> Date: Mon, 26 Oct 1998 08:41:00 -0800 (PST) From: dot@dotat.at To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: ports/8458: ports collection does not use common cache file for Gnu configure Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8458 >Category: ports >Synopsis: ports collection does not use common cache file for Gnu configure >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 26 08:50:00 PST 1998 >Last-Modified: >Originator: Tony Finch >Organization: >Release: 3.0-RELEASE >Environment: FreeBSD pipeline141.router.demon.net 3.0-RELEASE FreeBSD 3.0-RELEASE #0: Sat Oct 17 17:45:06 GMT 1998 jkh@kickme.freebsd.org:/usr/src/sys/compile/GENERIC i386 >Description: Gnu configure can be considerably faster if a common cache file is used for all builds. Unfortunately, adding CONFIGURE_ARGS+= --cache-file=/usr/local/src/config.cache to /etc/make.conf does not DTRT because all the ports override the value of this variable after make.conf is sourced. You have to edit /usr/share/mk/bds.port.mk instead. >How-To-Repeat: Build two pieces of software using the ports collection. They will use individual config.cache files. >Fix: Either (1) alter bsd.port.mk to use a common config.cache by default, or (2) change all the ports (!) so that they don't override the value of CONFIG_ARGS set by make.conf. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message