ports/143979: [PATCH] Portupgrade should not install build dependencies when only using packages

Philip M. Gollucci pgollucci at p6m7g8.com
Tue Feb 16 03:40:06 UTC 2010


The following reply was made to PR ports/143979; it has been noted by GNATS.

From: "Philip M. Gollucci" <pgollucci at p6m7g8.com>
To: Bryan Drewery <bryan at shatow.net>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: ports/143979: [PATCH] Portupgrade should not install build	dependencies
 when only using packages
Date: Tue, 16 Feb 2010 03:31:31 +0000

 nice!
 
 Bryan Drewery wrote:
 >> Number:         143979
 >> Category:       ports
 >> Synopsis:       [PATCH] Portupgrade should not install build dependencies when only using packages
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       low
 >> Responsible:    freebsd-ports-bugs
 >> State:          open
 >> Quarter:        
 >> Keywords:       
 >> Date-Required:
 >> Class:          sw-bug
 >> Submitter-Id:   current-users
 >> Arrival-Date:   Tue Feb 16 01:50:01 UTC 2010
 >> Closed-Date:
 >> Last-Modified:
 >> Originator:     Bryan Drewery
 >> Release:        7.2
 >> Organization:
 >> Environment:
 >> Description:
 > When using -PP and only using packages, there's no need to install BUILD_DEPS, EXTRACT_DEPS, PATCH_DEPS or FETCH_DEPS as the package has already been built.
 >> How-To-Repeat:
 > pkg_delete -r '*'
 > portinstall -PP someport
 > This will needlessly install stuff like gmake, automake, gsed, etc.
 >> Fix:
 > Patch attached.
 > 
 > Patch attached with submission follows:
 > 
 > --- bin/portupgrade.orig	2010-02-15 19:14:22.000000000 -0600
 > +++ bin/portupgrade	2010-02-15 19:19:25.000000000 -0600
 > @@ -828,8 +828,12 @@ end
 >  # Returns:
 >  #      Set: all recursive depends list
 >  def get_all_depends(origin, parents_list = nil)
 > +  if $use_packages_only
 > +    depends_vars = %w{LIB_DEPENDS RUN_DEPENDS}
 > +  else
 >    depends_vars = %w{FETCH_DEPENDS EXTRACT_DEPENDS PATCH_DEPENDS
 >  		      BUILD_DEPENDS LIB_DEPENDS RUN_DEPENDS}
 > +  end
 >  
 >    unless $depends.has_key?(origin)
 >      depends = Set.new
 > 
 > 
 >> Release-Note:
 >> Audit-Trail:
 >> Unformatted:
 > _______________________________________________
 > freebsd-ports-bugs at freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
 > To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe at freebsd.org"
 
 
 -- 
 ------------------------------------------------------------------------
 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
 Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
 VP Apache Infrastructure; Member, Apache Software Foundation
 Committer,                        FreeBSD Foundation
 Consultant,                       P6M7G8 Inc.
 Sr. System Admin,                 Ridecharge Inc.
 
 Work like you don't need the money,
 love like you'll never get hurt,
 and dance like nobody's watching.



More information about the freebsd-ports-bugs mailing list