From owner-freebsd-ports@FreeBSD.ORG Mon Jul 16 09:37:29 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 516C11065670 for ; Mon, 16 Jul 2012 09:37:29 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from opti.dougb.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id D92F71567A7; Mon, 16 Jul 2012 09:37:28 +0000 (UTC) Message-ID: <5003E0D8.2070108@FreeBSD.org> Date: Mon, 16 Jul 2012 02:37:28 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120621 Thunderbird/13.0.1 MIME-Version: 1.0 To: Thomas Mueller References: In-Reply-To: X-Enigmail-Version: 1.4.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Rebuilding png and perl without rebuilding a whole lot of ports twice 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: Mon, 16 Jul 2012 09:37:29 -0000 On 07/16/2012 02:29, Thomas Mueller wrote: > Actually I would want to upgrade many of the ports even if they > wouldn't be broken by upgrade in png or perl, but not twice. Well now you're changing the parameters. > I already have lists in /var/db/pkg/png-1.4.8/+REQUIRED_BY and > similar for Perl that could be used like your p5-list and png-list. They aren't necessarily complete. You might want to do 'portmaster --check-depends' before relying on them. > Problem is how to avoid the duplicates, my scripting knowledge is not > so advanced, Um, sort -u? You need to do the 'portmaster -o' for perl though, otherwise the pkgdep's in the dependent ports won't be right. Good luck, Doug -- Change is hard.