Bug 112745

Summary: bsd.port.mk: Add a package-smart target
Product: Ports & Packages Reporter: ADAM David Alan Martin <adamartin>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed Overcome By Events    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description ADAM David Alan Martin freebsd_committer freebsd_triage 2007-05-17 21:10:03 UTC
The "make package-recursive" target for ports will rebuild all tarballs for packages that are installed, even if the tarball exists in /usr/ports/packages.

When upgrading existing ports, or installing new ports with unbuilt dependencies, it is unnecessary to rebuild the existing tarballs.

Fix: This patch, to /usr/ports/Mk/bsd.port.mk will add a target, "package-smart", which will build package tarballs recursively skipping those which exist already.

How-To-Repeat: Run make package-recursive on any port with deep dependencies -- ports will rebuild every tarball dependancy, not just the ones that are unbuilt.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2007-05-17 21:33:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

Over to maintainer(s).
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2014-06-02 03:13:45 UTC
Infrastructure PR.
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2015-06-12 21:16:54 UTC
We have poudriere for building packages now, and it's smart.