From owner-freebsd-ports@FreeBSD.ORG Wed Aug 29 19:53:42 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F37D106564A for ; Wed, 29 Aug 2012 19:53:42 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 767438FC15 for ; Wed, 29 Aug 2012 19:53:40 +0000 (UTC) Received: (qmail invoked by alias); 29 Aug 2012 19:53:39 -0000 Received: from g227002210.adsl.alicedsl.de (EHLO mandree.no-ip.org) [92.227.2.210] by mail.gmx.net (mp029) with SMTP; 29 Aug 2012 21:53:39 +0200 X-Authenticated: #428038 X-Provags-ID: V01U2FsdGVkX1+H13QoPtqHB67ahY6haBOZ8sOjEkD597spvGtCtH XO1RkOgJ2g77qW Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by apollo.emma.line.org (Postfix) with ESMTP id 1F8B223CEE5; Wed, 29 Aug 2012 21:53:38 +0200 (CEST) Message-ID: <503E7341.8030502@gmx.de> Date: Wed, 29 Aug 2012 21:53:37 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <5039B6E9.90503@paz.bz> <503D4B98.1010704@gmx.de> In-Reply-To: X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Kevin Oberman Subject: Re: upgrading ports with a lot of dependencies X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2012 19:53:42 -0000 Am 29.08.2012 02:37, schrieb Kevin Oberman: > And, as I mention rather often, pkg-libchk from > sysutils/bsdadminscripts can save you from rebuilding a LOT of ports. > pkg_libchk -o | grep LIBNAME | cut -d: -f1 | sort | uniq > dep-ports > (where LIBNAM is the sharable (.so) installed by the port in question) > portmaster -D `cat dep-ports` While that will work in the given scenario, I'd personally prefer just pkg_libchk -q -o. There may be a few notorious false positives (mostly packages bypassing the regular ld.so stuff - Mozilla stuff -, or ports dynamically loading facultative UI libraries, such as Opera that can use GTK and Qt, or ports that need compat* stuff for bootstrapping, such as diablo-jdk on newer computers).