Bug 112745 - bsd.port.mk: Add a package-smart target
Summary: bsd.port.mk: Add a package-smart target
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-17 21:10 UTC by ADAM David Alan Martin
Modified: 2015-06-12 21:16 UTC (History)
0 users

See Also:


Attachments
file.diff (709 bytes, patch)
2007-05-17 21:10 UTC, ADAM David Alan Martin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.