Subject: Re: bsd.pkg.mk proposal 5: flexible distfile handling
To: SUNAGAWA Keiki <email@example.com>
From: Todd Vierling <firstname.lastname@example.org>
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.
: 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.
: MSTER_SITES = ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/ \
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
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 email@example.com; Bus. firstname.lastname@example.org)