Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 10:54:44 -0500 (EST)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        knu@iDaemons.org
Cc:        roam@ringlet.net, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/graphics/autotrace Makefile ports/graphics/graphviz Makefile ports/graphics/libafterimage Makefile ports/graphics/librsvg Makefile ports/graphics/libwmf Makefile ports/graphics/sdl_ttf Makefile ports/print/ft2demos Makefile ...
Message-ID:  <200203121554.g2CFsi3b073497@aldan.algebra.com>
In-Reply-To: <86zo1daofp.wl@archon.local.idaemons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Mar, Akinori MUSHA wrote:
>> In this particular case, the following command:
>> 
>> find /usr/ports -type f | xargs fgrep -le freetype.8 -e freetype.so.8
 
> Unfortunately, this is not sufficient because someone removed the
> shlib major part of freetype2 and some other libraries' LIB_DEPENDS
> entries from his ports.  You should grep for -w freetype2 instead to
> catch by the port name.

I did. And you know my reasoning, which I don't find unfortunate at all.
All those ports will build with ANY freetype, and handling the binary
upgrades is not the ports system's primary objective. Hardly even
secondary.
 
>> I will commit a patch updating those three ports in a minute, but
>> please take note of this situation and try not to miss "hidden"
>> dependencies in the future! :)

If you plan on backing out my changes, I'll, probably, put them back
in promptly -- you are yet to convince me they are wrong. Yours,

> Anyhow, let's do bump PORTREVISION's ourselves whenever we find this
> kind of incomplete library port upgrade. :)
> 
> Or users may just get lost.

This means the upgrade mechanism is incomplete. If portupgrade (or
whatever tool is used) upgrades port A, which results in a shared
library bump of libA, it should automaticly upgrade all ports B, C, D
which LIB_DEPEND on libA -- without an explicit PORTREVISION bump in B,
C, and D.

	-mi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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