From owner-freebsd-questions@FreeBSD.ORG Wed Aug 2 22:04:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18F7A16A4DE for ; Wed, 2 Aug 2006 22:04:42 +0000 (UTC) (envelope-from freebsd@scottevil.com) Received: from relay.aplus.net (relay.aplus.net [216.55.128.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFE7C43D46 for ; Wed, 2 Aug 2006 22:04:41 +0000 (GMT) (envelope-from freebsd@scottevil.com) Received: from [216.55.131.248] (helo=[192.168.191.103]) by relay.aplus.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1G8OpV-00064X-EY for freebsd-questions@freebsd.org; Wed, 02 Aug 2006 15:04:41 -0700 Message-ID: <44D12178.8060007@scottevil.com> Date: Wed, 02 Aug 2006 15:04:40 -0700 From: Scott Oertel User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060802212710.46366.qmail@web25214.mail.ukl.yahoo.com> <200608021747.23216.nb_root@videotron.ca> In-Reply-To: <200608021747.23216.nb_root@videotron.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: upgrade port, a couple of questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 22:04:42 -0000 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? Scott.