Problem with patchfiles (same name for different versions)

Ryan Schmidt ryandesign at macports.org
Mon Sep 3 10:18:29 PDT 2007


On Sep 3, 2007, at 09:48, Vincent Lefevre wrote:

> On 2007-09-03 16:39:35 +0200, Vincent Lefevre wrote:
>
>> 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.
>
> Also, I tried specifying the directory after patchfiles, but "port"
> does a bus error in this case:
>
> Portfile changed since last build; discarding previous state.
> --->  Fetching mpfr
> --->  mpfr-2.3.0/patch01 doesn't seem to exist in /opt/local/var/ 
> macports/distfiles/mpfr
> --->  Attempting to fetch mpfr-2.3.0/patch01 from http://www.mpfr.org/
> zsh: bus error  sudo port -v upgrade mpfr

I also don't know if patchfiles/distfiles can be renamed after  
download. In the absence of that feature, I recommend:

dist_subdir ${name}/${version}

(Instead of the default dist_subdir ${name})




More information about the macports-dev mailing list