fixing up port dependencies

John W jwdevel at gmail.com
Tue Feb 2 05:35:59 UTC 2010


Hello all,

I'm going through a round of port upgrades and came upon a dependency issue.
I could probably muscle through and make it work, but I'd like to know
what people see as a "correct" solution to this problem. I'm still in
the process of grokking the nitty-gritty bits of ports.

Here's the issue:
I updated my ports tree with csup, and tried to run 'portmaster -na'.
It gave me this:

    ===>>> The mail/p5-Email-Simple-Creator port has been deleted:
Folded into p5-Email-Simple package

Ok, that makes sense. But what do I do to fix it?
It seems I need to replace dependencies on p5-Email-Simple-Creator
with dependencies on p5-Email-Simple.

But if I manually do that, won't my changes be blown away the next
time I update ports?

Perhaps I should use the '-o' (origin) option of portmaster? I'm not
100% sure how that works, incidentally.
I assume something like:

    portmaster -o p5-Email-Simple p5-Email-Simple-Creator

Will those changes get blown away by the next update of ports?

Is the most correct solution just to wait until all maintainers of
ports which depend on p5-Email-Simple-Creator each update their
makefiles to depend on p5-Email-Simple, instead? (Though that doesn't
help in the short term :)

I'm curious of people's thoughts on this.

Thanks
-John


More information about the freebsd-questions mailing list