ports/82753: patch to add functionality to ports macro bsd.port.subdir.mk
jhs at berklix.org
jhs at berklix.org
Tue Jun 28 23:20:24 UTC 2005
>Number: 82753
>Category: ports
>Synopsis: patch to add functionality to ports macro bsd.port.subdir.mk
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 28 23:20:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: User &
>Release: FreeBSD 4.11-RELEASE i386
>Organization:
http://berklix.com
>Environment:
System: FreeBSD wind.jhs.private 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Tue Jun 7 10:40:30 CEST 2005 jhs at wind.jhs.private:/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 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
>How-To-Repeat:
see above
>Fix:
apply patch
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list