Problem with patchfiles (same name for different versions)

Anders F Björklund afb at macports.org
Mon Sep 3 06:29:47 PDT 2007


Vincent Lefevre wrote:

> The problem is that patches are not stored in a subdirectory that
> depends on the version. So, there is a clash if I want to declare
> patch01 as a new patchfile for mpfr-2.3.0. What is the recommended
> solution?

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)

If one wants to dig up old versions/releases, then SVN is used...
(it can be archived into a portpkg or source package if so desired)

--anders




More information about the macports-dev mailing list