| Summary: | Contrary to ports(7) there is no target "showconfig-recursive" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jens Schweikhardt <schweikh> | ||||||
| Component: | Individual Port(s) | Assignee: | Mark Linimon <linimon> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | ||||||||
| Priority: | Normal | ||||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
Responsible Changed From-To: freebsd-ports-bugs->portmgr Portmgr territory State Changed From-To: open->suspended Suspended awaiting patch Responsible Changed From-To: portmgr->linimon I'll work on removing the incorrect documentation. Patch for implementing make showconfig-recursive in bsd.port.mk regards, Andy Kosela Pythagoras Foundation "What is that which always is and has no becoming; and what is that which is always becoming and never is?" -- Plato Somehow gmail garbled my patch file. I'm resending it. -- Andy Kosela Pythagoras Foundation "What is that which always is and has no becoming; and what is that which is always becoming and never is?" -- Plato --- bsd.port.mk Fri Jun 29 16:09:39 2007
+++ bsd.port.mk Sun Jul 1 22:33:21 2007
@@ -771,6 +771,7 @@
# config-recursive
# - Configure options for this port for this port and all dependencies.
# showconfig - Display options config for this port.
+# showconfig-recursive - Display options config for this port and all
dependencies.
# rmconfig - Remove the options config for this port.
# rmconfig-recursive
# - Remove the options config for this port and all dependencies.
@@ -6166,6 +6167,14 @@
done
@${ECHO_MSG} "===> Use 'make config' to modify these settings"
.endif
+.endif
+
+.if !target(showconfig-recursive)
+showconfig-recursive:
+ @${ECHO_MSG} "===> The following configuration options are
available for ${PKGNAME} and dependencies";
+ @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \
+ (cd $$dir; ${MAKE} showconfig); \
+ done
.endif
.if !target(rmconfig)
What is the current status of "showconfig-recursive" in the big kahuna?
My patch works cleanly against 7-STABLE bsd.port.mk. It implements
"showconfig-recursive" as documented in ports(7).
Mark, can you take a look at it?
--- bsd.port.mk.bak 2008-08-23 20:05:14.000000000 +0200
+++ bsd.port.mk 2008-08-23 20:17:32.000000000 +0200
@@ -758,6 +758,7 @@
# config-recursive
# - Configure options for this port for
this port and all dependencies.
# showconfig - Display options config for this port.
+# showconfig-recursive - Display options config for this port and all
dependencies.
# rmconfig - Remove the options config for this port.
# rmconfig-recursive
# - Remove the options config for this
port and all dependencies.
@@ -5944,6 +5945,14 @@
.endif
.endif
+.if !target(showconfig-recursive)
+showconfig-recursive:
+ @${ECHO_MSG} "===> The following configuration options are
available for ${PKGNAME} and dependencies";
+ @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \
+ (cd $$dir; ${MAKE} showconfig); \
+ done
+.endif
+
.if !target(rmconfig)
rmconfig:
.if defined(OPTIONS) && exists(${OPTIONSFILE})
--
Andy Kosela
ora et labora
pav 2009-01-11 11:04:05 UTC
FreeBSD ports repository
Modified files:
Mk bsd.port.mk
Log:
- Remove conditional checks and support for FreeBSD versions prior 6.0-RELEASE
Submitted by: pav
- Fix COPYTREE_* macros not to change permissions and ownership on files, that
were already present in the target path
Submitted by: beech
- Add a showconfig-recursive target, which has been in documentation for years
but never implemented
PR: ports/87642, ports/126770
Submitted by: Andy Kosela <andy.kosela@gmail.com>
- Fix ignorelist-verbose target (in preparation for duds.verbose)
PR: ports/127286 (part of)
Submitted by: linimon
- Fix OPTIONS dialog to show up for every previously unconfigured port in the
dependency chain
PR: ports/127554
Submitted by: ale
- Fail, if recursing into a dependency failed to satisfy the dependency object
(only for :install targets)
PR: ports/116601
Submitted by: edwin
Revision Changes Path
1.606 +46 -26 ports/Mk/bsd.port.mk
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: suspended->closed A target was added |
Fix: Implement showconfig-recursive (or maybe it's just a typo somewhere in the big kahuna? At first glance it looks like it's nowhere in bsd.port.mk.) How-To-Repeat: # man 7 ports ... The following targets are not run during the normal install process. showconfig Display OPTIONS config for this port. showconfig-recursive Display OPTIONS config for this port and all its depen- # cd /usr/ports/editors/openoffice.org-2.0-devel # make showconfig-recursive make: don't know how to make showconfig-recursive. Stop # cd /usr/ports/sysutils/samefile # make showconfig-recursive make: don't know how to make showconfig-recursive. Stop