http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/Mk/bsd.port.subdir.mk.packages-recursive.REL=ALL.diff.no_customise

not applied on 7.x & 8.x

From jhs@ Wed Jun 29 08:50:07 2005
Date: Wed, 29 Jun 2005 01:13:08 +0200 (CEST)
Message-Id: <200506282313.j5SND8aw073538@fire
To: FreeBSD-gnats-submit@freebsd.org
Subject: patch to add functionality to ports macro bsd.port.subdir.mk
From: jhs @ berklix.org
Reply-To: jhs @ berklix.org
Cc: jhs @ berklix.com
X-send-pr-version: 3.113
X-GNATS-Notify: 


>Submitter-Id:	current-users
>Originator:	User &
>Organization:	http://www.berklix.com
>Confidential:	no 
>Synopsis:	patch to add functionality to ports macro bsd.port.subdir.mk
>Severity:	non-critical 
>Priority:	medium 
>Category:	ports
>Class:		change-request 
>Release:	FreeBSD 4.11-RELEASE i386
>Environment:
System: FreeBSD wind 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Tue Jun 7 10:40:30 CEST 2005 jhs@wind:/usr1/4.11-RELEASE/src/sys/i386/compile/WIND.small i386


	
>Description:

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 complete set of all depenedencies of /usr/ports
includes 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 ! :-)

Commited in 5.5-RELEASE & 6.1-RELEASE
Not in 5.3-RELEASE, 6.0-RELEASE

*** 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
	
>How-To-Repeat:
	see above
>Fix:

	apply patch

----------------------
From gnats@FreeBSD.org Wed Jun 29 08:51:07 2005
Date: Tue, 28 Jun 2005 23:20:23 GMT
Message-Id: <200506282320.j5SNKN7X083405@.freefall.freebsd.org>
To: jhs_ERASE_@.berklix.org
From: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/82753: patch to add functionality to ports macro bsd.port.subdir.mk
Reply-To: FreeBSD-gnats-submit@.FreeBSD.org, freebsd-ports-bugs@.FreeBSD.org
In-Reply-To: Your message of Wed, 29 Jun 2005 01:13:08 +0200 (CEST)
	<200506282313.j5SND8aw073538@.fire>

Thank you very much for your problem report.
It has the internal identification `ports/82753'.
The individual assigned to look at your
report is: freebsd-ports-bugs. 

You can access the state of your problem report at any time
via this link:

http://www.freebsd.org/cgi/query-pr.cgi?pr=82753

>Category:       ports
>Responsible:    freebsd-ports-bugs
>Synopsis:       patch to add functionality to ports macro bsd.port.subdir.mk
>Arrival-Date:   Tue Jun 28 23:20:23 GMT 2005
---------------
