upgrade port, a couple of questions
Chris Whitehouse
chris at childeric.freeserve.co.uk
Wed Aug 2 22:34:06 UTC 2006
Scott Oertel wrote:
> Nicolas Blais wrote:
>> On Wednesday 02 August 2006 17:27, Efren Bravo wrote:
>>
>>> Hi,
>>>
>>> How can I see which ports depend on
>>> libgmp-4.1.4_1?
>>>
>>> If I upgrade it, the applications that are using
>>> the old libgmp would be affected?
>>>
>>> Thanks...
>>>
>>> Efren Bravo.
>>>
>>
>> If you go into /var/db/pkg/libgmp-4.1.4_1 you'll see a file called
>> +REQUIRED_BY. Read it (cat "+REQUIRED_BY") to see which ports require
>> libgmp.
>>
>> You usually do not have to rebuild those ports unless there was a
>> major change in the library. It's up to you to know if you need to
>> rebuild them or not.
>>
>> Nicolas.
>>
>>
> This is a question i've had for a while, so this ("+REQUIRED_BY") checks
> what depends on libgmp, how do you check what libgmp depends on?
pkg_info?
-r Show the list of packages on which each package depends.
-R Show the list of installed packages which require each
package.
Also I've found portmanager copes pretty well with most dependencies.
Chris
>
>
> Scott.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
>
More information about the freebsd-questions
mailing list