On Jul 3, 2008, at 3:21 PM, Olivier Croquette wrote: > Hi all > > While working on my Portfile, I made the following strange observation > with depends_lib and multiple ports. > > If I have: > > depends_lib port:test-qt4-mac port:git-core > > Then I get: > Error: Dependency 'test-qt4-mac' not found. > So far, so good. > > But if I switch the ports: > > depends_lib port:git-core port:test-qt4-mac > > There is no error! It just starts fetching and building my port. > Apparently, only the first port: is taken into consideration. >
Looks like a bug in 1.6, as I can reproduce it there, but on trunk it works as one would expect. I think this is only the case when one of the ports isn't actually found in PortIndex though, as otherwise multiple dependencies work fine on 1.6. Bryan > > According to the doc: > http://guide.macports.org/#reference.dependencies.types > multiple ports are allowed. > > Am I doing something wrong or is there a bug? > > @Rainer: this is the reason why I didn't catch the problem with > "qt4" in > <http://trac.macports.org/ticket/15820> . Does your installation catch > the problem!? > > Thanks > > Olivier _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users