fixing port dependencies

Ronald F. Guilmette rfg at tristatelogic.com
Wed Oct 9 23:39:55 UTC 2013


In message <E8C87FC3-DDA1-47EC-A764-B83B73CB3425 at freebsd.org>, 
Stanislav Sedov <stas at freebsd.org> wrote:

>Yes, you need to rebuild all ports that depend on ruby18 if you plan
>to delete it.  Ruby libraries are installed in a version-specific
>location, so only ruby18 will see them (that's also why they have
>ruby18- prefix).
>
>To rebuild all ports that depend on ruby 18 you can use portupgrade:
>,------
>| portupgrade -x ruby-1.8.\* -fr lang/ruby18
>`------
>
>However, I believe the default version of ruby is 1.9 now, so this =
>action will install ruby19 and update all install ruby applications and
>libraries to use ruby19.


I just wanted to say "thanks" for all the above info.

I poked around and found out that the only thing I had installed
that had a dependency on any of the ruby 1.8 stuff was portupgrade.
So I did a pkg_delete on that, and then also on each of the following:

ruby18-deplate-0.8.5
ruby18-bdb-0.6.6_1
ruby-1.8.7.371,1

I then cd'd to /usr/ports/ports-mgmt/portupgrade and did make install,
which seemed to work just find and now my portupgrade is properly de-
pending on ruby 1.9 stuff, so I am good to go.



More information about the freebsd-ruby mailing list