Date: Wed, 02 Aug 2006 23:34:00 +0100 From: Chris Whitehouse <chris@childeric.freeserve.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: upgrade port, a couple of questions Message-ID: <44D12858.8030704@childeric.freeserve.co.uk> In-Reply-To: <44D12178.8060007@scottevil.com> References: <20060802212710.46366.qmail@web25214.mail.ukl.yahoo.com> <200608021747.23216.nb_root@videotron.ca> <44D12178.8060007@scottevil.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D12858.8030704>
