From owner-freebsd-ports@FreeBSD.ORG Wed Mar 28 15:39:22 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EEBA106564A; Wed, 28 Mar 2012 15:39:22 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id ECFBC8FC08; Wed, 28 Mar 2012 15:39:21 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so1395928bkc.13 for ; Wed, 28 Mar 2012 08:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9iWgydx7qvyoyHxv5x8YzvK1HULHBgpL2+h1WJdVqb8=; b=ib40utkHDdcSBsOnZ0rmKvJScuixbRHYBhTrLhPGvXqQ39tjrfIQgYKjIoPmpTKwW+ E0QN8zxB0YdGITNgTveql2jHvLZ40hS70sOSQVKJl9UGDB4lIo9T5WoSF5u7vz2niASF NCsn3TqLgEImk/hBfbdQo3y4bQqplv7uARWWsflxDurvHqvYgkf5UleKVlowPzc98WcX XI2flCfrWZvIW9JGI/oaeK9pqH3WP4/0mRK6L2jqTqremtKaar+Jy/A0mmIk0BBg9uDM 3nJ/SMwN6r3IEK0qG3nKCj02zFzm+879BJVi2JgOPdtWF/SLpuUfdfSUsJRETOn2CvJM QcNQ== MIME-Version: 1.0 Received: by 10.204.151.89 with SMTP id b25mr6043020bkw.18.1332949160802; Wed, 28 Mar 2012 08:39:20 -0700 (PDT) Received: by 10.204.202.142 with HTTP; Wed, 28 Mar 2012 08:39:20 -0700 (PDT) Received: by 10.204.202.142 with HTTP; Wed, 28 Mar 2012 08:39:20 -0700 (PDT) In-Reply-To: <4F732C89.3040804@FreeBSD.org> References: <4F732C89.3040804@FreeBSD.org> Date: Wed, 28 Mar 2012 15:39:20 +0000 Message-ID: From: Chris Rees To: Michael Scheidell Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org Subject: Re: FAQ on PORTREVISION bump? 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: Wed, 28 Mar 2012 15:39:22 -0000 On 28 Mar 2012 16:22, "Michael Scheidell" wrote: > > Looking for an FAQ on PORTREVISION bumps on commits, pr's. > > Basically, I make the decision based on 'hey, if I was running a cronjob to do a portupgrade -Rr every night, would I want this to be upgraded'? > > I know if something is broken across all builds, it doesn't need a portrevision bump. > If portversion is bumped, portrevision needs to be reset to 0 (line deleted from Makefile) > pkg-plist changed (except for tweaks for portdocs/portexamples) > > options change? I would think so, I see 'make config' called sometimes on portrevision bump, so I assume if I change the defaults, or add an option that changes build, I should bump it. > > What about things like removing a run_depends that isn't nessessary? ie: > > build_depends= This \ That \ TheOther > run_depends+= $build_depends > > but, in reality, you only need 'that' to run. > > build_depends= This \ That \ TheOther > run_depends = that > > Would the average OP want to rebuild the package just to eliminate the extra run depends? I am thinking, not. why bother? > > make deinstall/reinstall via portupgrade or portmanager won't really do anything > make package/ pkg_delete/ pkg_add won't do anything. > > So, is there a definitive list? > You also need to consider that packages are rebuilt on a bump, so if the RUN_DEPEND removal were a real monster, the pkg_add -r users will thank you for that. Chris