From owner-freebsd-ports Mon Nov 25 23:59:28 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA21606 for ports-outgoing; Mon, 25 Nov 1996 23:59:28 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA21585; Mon, 25 Nov 1996 23:59:24 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id SAA03037; Tue, 26 Nov 1996 18:29:22 +1030 (CST) From: Michael Smith Message-Id: <199611260759.SAA03037@genesis.atrad.adelaide.edu.au> Subject: Re: Latest ports INDEX browser In-Reply-To: <199611260748.XAA15757@silvia.HIP.Berkeley.EDU> from Satoshi Asami at "Nov 25, 96 11:48:36 pm" To: asami@freebsd.org (Satoshi Asami) Date: Tue, 26 Nov 1996 18:29:22 +1030 (CST) Cc: msmith@atrad.adelaide.edu.au, ports@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Satoshi Asami stands accused of saying: > * To do 'stale' distfile detection, make a copy of bsd.port.mk in > * the same directory as the 'pib.tcl' file, and add the following lines > * to the bottom : > * > * list-distfiles: > * @echo DIST_SUBDIR ${DIST_SUBDIR} > * @echo DISTFILES ${DISTFILES} > > This is not the right way to go about it, as many ports have different > distfile sets conditioned on certain variables. (What happened to > PATCHFILES anyway? :) Yup, should have added PATCHFILES to the set there. The whole reason _behind_ using make was that it would pick up the environment variables. I got sick of trying to rewrite make in Tcl, which is why I went this way - I wanted to be able to say to make "tell me all the files that this port wants". > I recommend you use files/md5, it is *supposed* to contain all the > stuff that's needed. (Unless the file can't have a checksum -- maybe > it's time to add "no checksum" line support to files/md5....) I'm happy with any way of doing it; files/md5 will sure as hell speed it up again, as long as that becomes the "official" way of doing it. However, how do you propose that I get DIST_SUBDIR? I guess I still have to parse the &%$&^$ Makefile. > Satoshi -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[