Subject: Re: proposal 5: flexible distfile handling
To: SUNAGAWA Keiki <>
From: Todd Vierling <>
List: tech-pkg
Date: 05/21/1999 16:41:33
On Sat, 22 May 1999, SUNAGAWA Keiki wrote:

: These are three distfiles contain ptex, Japanized version of
: TeX, which is not committed main pkgsrc so far.
: /pub/TeX/ascii-ptex/ptex218/ptex218.tar.gz
: /pub/TeX/ascii-ptex/ptex218/web2c/web-7.2.tar.gz
: /pub/TeX/ascii-ptex/ptex218/web2c/web2c-7.2.tar.gz
: The files are located in two different directories in master
: FTP site, but DISTFILES is basename'ed, so we should specify
: MASTER_SITES like shown below.

I assume the second one should have read the following?

: But in this definition, make fetch tries 6 URLs to get
: distfiles and it is obvious that the half of them will fail.


: To avoid this problem, the package could be splitted into
: two parts (ptex-common, ptex-jis) and the latter depended
: the formar.  But make of the latter fails if the formar is
: already built/installed since the dependancy is in source
: code.

Dependencies can only be created on *installed* files - that is, binaries,
libraries, etc.  If it is source code that must be available to the pkg, it
needs to be extracted at the same time.

: Any suggestions?

For now, place the /web2c/ URL first in MASTER_SITES, as that would result
in four fetches (only one failure).  Then, if/when the proposal is accepted,
the pkg will be updated to use proper matching.

-- Todd Vierling (Personal; Bus.