Yes, when I originally added it, I assumed files would be stored in a directory 
based on ${version}, but it turned out they were storing them in a directory 
based on ${branch}. I couldn't tell at the time because branch and version were 
equal. Anyway, the goal is to avoid redirects and to ensure that the closest 
server is used, so we need to specify the most exact path to the file, not (in 
most cases) just "sourceforge:projectname" (though in some cases that is the 
most exact path).

> On Dec 12, 2015, at 9:41 AM, David Strubbe wrote:
> 
> Ok, I changed it only because it was not working for me (at least at the 
> time).
> 
> David
> 
> On Sat, Dec 12, 2015 at 5:24 AM, Ryan Schmidt wrote:
> 
> > On Dec 12, 2015, at 4:18 AM, [email protected] wrote:
> >
> > Revision
> > 141620
> > Author
> > [email protected]
> > Date
> > 2015-10-23 10:47:58 -0700 (Fri, 23 Oct 2015)
> > Log Message
> >
> > netgen: Update to 5.3.1. Fix build for Yosemite and later by removing 
> > reference to vecLib; in fact it does not seem that Accelerate is being used 
> > at all, so I removed it. Removed irrelevant parts of descriptiopn. Do not 
> > offer variants pertaining only to Fortran compilers since this code uses 
> > only C and C++. Disable test phase which had no effect. Update master_sites 
> > line.
> > Modified Paths
> >
> >       • trunk/dports/math/netgen/Portfile
> > Diff
> >
> > Modified: trunk/dports/math/netgen/Portfile (141619 => 141620)
> >
> > --- trunk/dports/math/netgen/Portfile 2015-10-23 17:47:01 UTC (rev 141619)
> > +++ trunk/dports/math/netgen/Portfile 2015-10-23 17:47:58 UTC (rev 141620)
> 
> > -master_sites        
> > sourceforge:project/netgen-mesher/netgen-mesher/${version}/
> > +master_sites        sourceforge:netgen-mesher
> 
> This portion of your changeset reverts my r120755, which was done for the 
> reasons explained in:
> 
> https://trac.macports.org/wiki/howto/AvoidRedirects
> 
> I've redone it in r143422, with fixes to use ${branch} instead of ${version}.
> 
> 
> 
> _______________________________________________
> macports-dev mailing list
> [email protected]
> https://lists.macosforge.org/mailman/listinfo/macports-dev

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to