Problem with patchfiles (same name for different versions)

Vincent Lefevre vincent-opdarw at
Mon Sep 3 07:39:35 PDT 2007

On 2007-09-03 16:20:04 +0200, Anders F Björklund wrote:
> N_Ox wrote:
>>> Usually the patch files are overwritten along with the Portfile.
>>> So you have one set of Portfile + files for each version/release.
>>> And when you add the new distfile for the new version of the port,
>>> the old distfile is removed at the same time (usually same commit)
>> I think he's talking about patches fetched from remote sources.

Yes. Of course, I could put the patches in the MacPorts repository,
but I don't think this is recommended, as not every MacPorts user
need them (if every ports did that, it would multiply the repository
and working copy size by some factor).

> Okay, then it will fall into the "what to do when upstream does not
> have versioned files" category. As in: they probably need renaming.

Upstream patches are versioned: they are in different subdirectories.
But MacPorts doesn't care, unless I've missed something to have the
subdirectory taken into account.

> e.g. patch01 -> mpfr-2.3.0-patch01

How can I do that? "patchfiles" contains only the patch names, I didn't
see any possibility of rename.

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

More information about the macports-dev mailing list