qt4-mac dependencies

Michael Dickens michaelld at macports.org
Thu Jul 8 10:52:28 PDT 2010


On Thu, 08 Jul 2010 12:56 -0400, "Jeremy Lavergne"
<jeremy at lavergne.gotdns.org> wrote:
> Qt4-mac (and likely the other flavors) does not mark qt4_select as a
> dependency after the build phase.
> 
> That is, if you
> 1: sudo port destroot qt4-mac
> 2: sudo port uninstall qt4_select
> 3: sudo port install qt4-mac
> you'll error out from a missing qt4_select.

Hadn't thought of that, but it would certainly be an issue.

> I would suggest using depends_run instead or in addition to. Any other
> ideas?

The 'qt4-*' Ports currently or will soon require 'qt4_select' for
"post-activate" and "pre-deactivate". So, 'qt4_select' needs to be
specified somehow as a dependency.  Whatever dependency type is correct
for those two stages is what I need to specify: if just "depends_run"
then I'll do that, but if others then those as well.  I'm not familiar
with which stages correspond to which "depends", so I'm open to
suggestions.

All of that said, the last time I tried adding "depends_FOO" and doing
what you did (ticket #25475), 'port' (latest from SVN) didn't honor
those dependencies -- so, this functionality doesn't seem to be
currently built-in to 'port' or it is not functioning as desired: is it
a planned feature for the future of 'port'?

I'm all for these changes; it's just a matter of having enough info to
know how to do the implementation. - MLD


More information about the macports-dev mailing list