Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 1996 18:29:22 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        asami@freebsd.org (Satoshi Asami)
Cc:        msmith@atrad.adelaide.edu.au, ports@freebsd.org
Subject:   Re: Latest ports INDEX browser
Message-ID:  <199611260759.SAA03037@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199611260748.XAA15757@silvia.HIP.Berkeley.EDU> from Satoshi Asami at "Nov 25, 96 11:48:36 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611260759.SAA03037>