Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2017 23:46:52 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        "Mikhail T." <mi+thun@aldan.algebra.com>
Cc:        Mathieu Arnold <mat@FreeBSD.org>, Jan Beich <jbeich@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: Misuse of PORTREVISION (Re: svn commit: r434379 - head/multimedia/x265)
Message-ID:  <20170221234652.67887880@kalimero.tijl.coosemans.org>
In-Reply-To: <8a710c35-2010-0872-b391-196f32ca86ae@aldan.algebra.com>
References:  <20170218210541.82AA915F6@freefall.freebsd.org> <f23cecfc-d669-e62b-1916-1e16e66fb3eb@aldan.algebra.com> <a9be8749-360f-15fb-aa75-93a378371c51@FreeBSD.org> <d5e81c35-41fe-4f5c-4f45-e069d93ce911@aldan.algebra.com> <fee7b990-45db-1e52-22d8-fb1b21e9c030@FreeBSD.org> <17b5afa1-c0b4-a79e-aea1-d0ae918469e8@aldan.algebra.com> <20170221191909.1639f628@kalimero.tijl.coosemans.org> <8a710c35-2010-0872-b391-196f32ca86ae@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Feb 2017 13:31:10 -0500 "Mikhail T." <mi+thun@aldan.algebra.com> wrote:
> On 21.02.2017 13:19, Tijl Coosemans wrote:
>> We do still support regular "make install clean" right?  Doing a
>> PORTREVISION bump is the way we inform users to rebuild that port.  
> "make install clean", while possibly the only thing worth directly 
> supporting, has nothing to do with REBUILDING the port.
>> Without that they would have to look for library version changes all the
>> time.  
> My point -- from the beginning -- was that such signaling /can/ be 
> automatic, and therefore /should/ be automatic.
> 
> For example, when a port is (about to be) upgraded, a check can be 
> performed to warn the user, that removing the current version will break 
> a depending port -- and offer to uninstall it too. pkg would already do 
> that -- unless invoked with -f...
> 
> Or, perhaps, the older shared libraries belonging to older versions of 
> the already-upgraded ports can be preserved somewhere -- like 
> $PREFIX/lib/compat, which is where portupgrade puts them.
> 
> But this automation is not going to happen as long as we keep the 
> manually-maintained crutch...

While you work on making it automatic you need to keep bumping
PORTREVISION.  You cannot deliberately break things to force others
to make it automatic.



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