Bug 76254 - PATCH: Add config-recursive to bsd.port.mk
Summary: PATCH: Add config-recursive to bsd.port.mk
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-14 20:10 UTC by Chris Dillon
Modified: 2005-02-07 11:28 UTC (History)
0 users

See Also:


Attachments
config-recursive.patch (1.46 KB, patch)
2005-01-14 20:10 UTC, Chris Dillon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dillon 2005-01-14 20:10:31 UTC
The attached patch adds config-recursive and rmconfig-recursive targets to 
bsd.port.mk, as well as another target called config-conditional which likely 
only config-recursive will use and is used to skip configuring ports which 
have already been configured.

This allows, for example, the building of ports/x11/kde3 without needing to 
baby-sit it and wait for the configure menus to come up at various points in 
the build.  With config-recursive, you can get all of that out of the way 
before you start the build.  There is one caveat, however, and that is you 
must run config-recursive multiple times on ports with very large dependancy 
chains like KDE3 because you are likely to lengthen the dependancy chain in 
the act of configuring the current dependancies, and those new dependancies 
may themselves need to be configured.  When I tested with ports/x11/kde3, it 
sufficed to run config-recursive twice to catch all of the dependancies I had 
configured.  Maybe we can figure out how to it all in one pass later.

Fix: Patch is also available at:

ftp://ftp.wolves.k12.mo.us/pub/stuff/config-recursive.patch
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2005-01-14 20:12:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

To portmgr queue.
Comment 2 Kirill Ponomarev freebsd_committer freebsd_triage 2005-02-07 11:28:05 UTC
State Changed
From-To: open->closed

Committed, thanks!