Local portfile masks portfile in main repository

Joshua Root jmr at macports.org
Fri Apr 15 04:13:06 PDT 2011


On 2011-4-15 20:37 , Ryan Schmidt wrote:
> By design, if you have a local portfile for a port, then that will be used, instead of any identically-named port in the main port repository. Some users may have forgotten that they have a local portfile, which can result in a problem, as in this situation where the user's local port was older than the official version:
> 
> https://trac.macports.org/ticket/29132#comment:2
> 
> This user suggests we should print a message in this case. Can anyone think of a way to do that, and any ideas about what the message should say?

That guy wasn't using a separate local repo, he'd apparently edited the
copy in the main tree. Seems like that would be something you'd remember
doing, at least long enough to have synced again.

- Josh


More information about the macports-dev mailing list