Version confusion

Randall Wood rhwood at mac.com
Sun Apr 1 02:26:22 PDT 2007


When working on port ${name}, port uses the information for port $ 
{name} from the first PortIndex that it finds with ${name} in it. So  
if your rsync sources are before your svn sources, port will always  
use the rsync port, unless that port has not made it into the rsync  
tree yet.


On 31 Mar 2007, at 14:47, Bas den Hond wrote:

> Hi all,
>
> I am confused as to how to request a certain version.
>
> I have an svn tree next to the regular dports tree. The file URL is  
> in sources.conf.
>
> Now if I do:
>
> port search wxWidgets
>
> the answer is:
>
> wxWidgets                      graphics/wxWidgets 2.6.3         
> mature cross-platform C++ GUI framework
> wxWidgets-devel                graphics/wxWidgets-devel  
> 2.7.1        mature cross-platform C++ GUI framework
> wxWidgets                      graphics/wxWidgets 2.8.3         
> mature cross-platform C++ GUI framework
> wxWidgets-devel                graphics/wxWidgets-devel 2.8.3- 
> rc1    mature cross-platform C++ GUI framework
> wxWidgets26                    graphics/wxWidgets26 2.6.3         
> mature cross-platform C++ GUI framework
>
> which is good, because I have two ports, so I would expect to have  
> two versions of these.
>
> Now if I do
>
> sudo port install wxWidgets
>
> port reports:
>
> --->  Fetching wxWidgets
> --->  Attempting to fetch wxWidgets-2.6.3.tar.bz2 from ftp:// 
> biolpc22.york.ac.uk/pub/2.6.3/
>
> so I gather it grabs the first (not the most recent) wxWidgets that  
> it can find.
>
> Now if I want to try the latest version and see if I can build it  
> (the impossibility of building it is why I have this setup, I need  
> 2.6.3. so far) I would try, based on what the manpage says:
>
> sudo port install wxWidgets at 2.8.3
>
> But no, port starts fetching the same 2.6.3 version.
>
> So what gives? I guess I could remove the svn tree from  
> sources.conf temporarily, but that seems klutzy...
>
> Any explanation appreciated.
>
> Bas
>
>
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users


Randall Wood
rhwood at mac.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."





More information about the macports-users mailing list