Bug 82753 - patch to add functionality to ports macro bsd.port.subdir.mk
Summary: patch to add functionality to ports macro bsd.port.subdir.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-06-29 00:20 UTC by Julian.Stacey.jhs
Modified: 2005-11-08 09:12 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian.Stacey.jhs 2005-06-29 00:20:23 UTC
This patch extends allowed use of package-recursive above the
11000 individual /usr/ports/*/*, to both 
	1) higher levels of /usr/ports/*
	2) & even /usr/ports.

Though a normal FreeBSD person might at first think case (2)
was pointless, as a completeet of all depenedencies of /usr/ports
include the same whole /usr/ports... Not so ...

By use of a collection of site local ports/*/Makefile.local one can do eg:
	cd /usr/ports ; make BERKLIX_SUBDIR=YES package-recursive
where cd /usr/ports/*/Makefile.local are a collection of Makefile 
supplements with a list of just those SUBDIRs to be localy built
(wrapped by a site local define label of ".if defined(BERKLIX_SUBDIR)"
so that if BERKLIX_SUBDIR is Not define normal makes of all 11000
FreeBSD ports can be attempted.

Big explanaation for a single line patch ! :-)

*** 4.11-RELEASE/ports/Mk/bsd.port.subdir.mk.orig	Wed Jun 29 00:51:42 2005
--- new-generic/ports/Mk/bsd.port.subdir.mk	Wed Jun 29 00:53:32 2005
***************
*** 107,112 ****
--- 107,113 ----
  TARGETS+=	makesum
  TARGETS+=	maintainer
  TARGETS+=	package
+ TARGETS+=	package-recursive
  TARGETS+=	realinstall
  TARGETS+=	reinstall
  TARGETS+=	tags

Fix: 

apply patch
How-To-Repeat: 	see above
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-06-30 14:09:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

Over to maintainers
Comment 2 Clement Laforet freebsd_committer freebsd_triage 2005-10-19 20:19:59 UTC
State Changed
From-To: open->analyzed

Added to exp build. Thanks
Comment 3 Clement Laforet freebsd_committer freebsd_triage 2005-11-08 09:12:10 UTC
State Changed
From-To: analyzed->closed

Committed. Thanks!