From owner-freebsd-ports@FreeBSD.ORG Sat Sep 10 23:14:06 2011 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 A53CD106564A for ; Sat, 10 Sep 2011 23:14:06 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 668B18FC14 for ; Sat, 10 Sep 2011 23:14:06 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id p8ANE5vU090575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 10 Sep 2011 16:14:05 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p8ANE51T090574; Sat, 10 Sep 2011 16:14:05 -0700 (PDT) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA16341; Sat, 10 Sep 11 16:05:11 PDT Date: Sat, 10 Sep 2011 23:04:56 -0700 From: perryh@pluto.rain.com To: matthias.andree@gmx.de Message-Id: <4e6c4f88.TEcAbT9xVDyX7ztW%perryh@pluto.rain.com> References: <4E651DCF.30605@FreeBSD.org> <201109052146.p85Lkous037023@fire.js.berklix.net> <4E67935C.6080702@aldan.algebra.com> <4E68AC85.4060705@icritical.com> <4E68F34C.6090504@FreeBSD.org> <20110909040954.17733a4e@cox.net> <4E6A476D.7090800@gmx.de> <4e6b6f41.hI3BQG0rpsUjddcD%perryh@pluto.rain.com> <4E6B374C.5040302@gmx.de> In-Reply-To: <4E6B374C.5040302@gmx.de> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: ports deprecations (was: sysutils/cfs) 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: Sat, 10 Sep 2011 23:14:06 -0000 Matthias Andree wrote: > Am 10.09.2011 16:08, schrieb perryh@pluto.rain.com: > > Last I knew, if port X uses services provided by port Y and port > > Y changes, port X often needs to be rebuilt and reinstalled even > > though nothing in port X has changed. AFAIK this has nothing to > > do with backups. > > > > If you've found a way to avoid ever having to rebuild, say, > > kdiff3 when something changes in KDE, I'm sure the authors of > > portupgrade and portmaster would like to hear about it! It > > would greatly simplify their job. > > Interesting question that you pose. In cases where only the > so-called SONAME of libraries in port Y changed, but not that > part of the ABI that port X used, chances are we might go without > it for the majority of ports, but that's not done currently. What about the case where Y's API and SONAME did *not* change, but its PORTVERSION or PORTREVISION was bumped to reflect a bugfix? No change to X is needed at all, but * X may still need to be rebuilt (e.g. if Y is statically linked into X's executable(s)), and * portupgrade/portmaster will probably determine that X needs to be rebuilt -- even if it actually doesn't -- because they have no way of determining how pertinent the change in Y was to the way Y is used in X. I believe Conrad's original point[1], that a port (X) may need to be rebuilt and reinstalled even though nothing about it has changed _or needs to change_, stands. [1] http://lists.freebsd.org/pipermail/freebsd-ports/2011-September/070022.html