Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Jun 2012 10:50:06 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Matthew Seaman <matthew@FreeBSD.org>
Cc:        Heino Tiedemann <rotkaps_spam_trap@gmx.de>, rotkap@gmx.de, freebsd-ports@FreeBSD.org
Subject:   Re: Please rebuild all ports that depend on PNG
Message-ID:  <4FC9D3BE.8070303@quip.cz>
In-Reply-To: <4FC9C50A.9060000@FreeBSD.org>
References:  <o6qo99-o42.ln1@news.hansenet.de> <4FC9C50A.9060000@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> On 02/06/2012 07:59, Heino Tiedemann wrote:
>> WOW - is the realy no other posibillity for PNG than rebuild all
>> depended Ports?
>>
>> It is al lot! it will cost me three days
>>
>>
>> Realy no other possibility?!
>
> You need to rebuild all the ports that install binaries that link
> against libpngNN.so.NN.  That is actually a subset of the ports that
> depend on graphics/png -- unfortunately it takes some effort to identify
> precisely what does need rebuilding.  There is the pkg_libchk script
> (which is part of sysutils/bsdadminscripts) that can help.
>
> However all ports that are known to depend on graphics/png have had
> portrevision bumps even when this makes no difference what so ever --
> such as for ports that install pure perl code -- so the normal process
> of maintaining your ports will eventually result in your rebuilding
> everything in your list.
>
> Use pkg_libchk to prioritise the ports that really need to be rebuilt.
> Also, when upgrading graphics/png remember to use 'portmaster -w' or
> equivalent to preserve a copy of the old shlib, otherwise a lot of your
> apps will stop working for the duration of the upgrade session.

And maybe you can try to use EXPLICIT_PACKAGE_DEPENDS=true in make.conf 
to record only direct dependencies, so next time you can easily list 
those ports by

    pkg_info -R png-1.4.11

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC9D3BE.8070303>