Complicated patching
Matthew Seaman
m.seaman at infracaninophile.co.uk
Wed May 18 05:35:13 UTC 2011
On 17/05/2011 05:32, Matthew Pounsett wrote:
> In a (possibly foolish) attempt to add a third-party patch to an
> application I use *without* abandoning the ports tree for this app,
> I'm trying to make a local modification to the port to download and
> include the patch in the build process. The problem I'm running into
> is that it is distributed from a source distribution site that uses a
> downloads CGI rather than a direct URL to distribution files, and the
> URI has nothing whatsoever to do with the name of the resulting file.
> This, obviously, breaks MASTER_SITES and DISTFILES because what I
> have to put in DISTFILES doesn't match what would go in the distinfo
> file.
I ran into this with x11-fonts/gentium -- the download URL not
containing the name of the downloaded file as the last component.
In that case, I was able to add a dummy argument to the download URL.
The download CGI ignores it, and it's enough to pacify the ports system.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110518/21d5dae8/signature.pgp
More information about the freebsd-ports
mailing list