From owner-freebsd-ports@FreeBSD.ORG Mon Aug 1 17:03:41 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1ECA106566C; Mon, 1 Aug 2011 17:03:41 +0000 (UTC) (envelope-from jos@catnook.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 525118FC13; Mon, 1 Aug 2011 17:03:41 +0000 (UTC) Received: by ywm39 with SMTP id 39so1044252ywm.13 for ; Mon, 01 Aug 2011 10:03:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.49.8 with SMTP id w8mr1026986ybw.102.1312216745320; Mon, 01 Aug 2011 09:39:05 -0700 (PDT) Received: by 10.150.91.20 with HTTP; Mon, 1 Aug 2011 09:39:05 -0700 (PDT) Received: by 10.150.91.20 with HTTP; Mon, 1 Aug 2011 09:39:05 -0700 (PDT) In-Reply-To: <201108011609.34885.talon@lpthe.jussieu.fr> References: <20110801085135.GA45113@lpthe.jussieu.fr> <4E367999.8000906@FreeBSD.org> <201108011609.34885.talon@lpthe.jussieu.fr> Date: Mon, 1 Aug 2011 09:39:05 -0700 Message-ID: From: Jos Backus To: Michel Talon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Doug Barton , freebsd-ports@freebsd.org Subject: Re: UPDATING 20110730 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2011 17:03:41 -0000 On Aug 1, 2011 7:10 AM, "Michel Talon" wrote: [snip] > This being said if an upgrade tool needs to compute (partially) the INDEX, > most of the time is spent in running make -V in each port, > because make has to read and interpret enormous files. I don't see any way to > cut on that, or one should need to develop a special purpose version of make > to evaluate these variables, perhaps which should keep persistent > computations between ports (but this is dangerous). Or don't store lots of data in files in Makefile format. The make language is a poor data storage format that doesn't allow access to that data from other tools easily or efficiently. I'm struggling with a similar problem at $WORK. Jos