Bug 126770

Summary: Current status of showconfig-recursive
Product: Ports & Packages Reporter: Andy Kosela <akosela>
Component: Individual Port(s)Assignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Andy Kosela 2008-08-23 19:50:00 UTC
 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?
 
 plotinus:/usr/ports/Mk# diff -u bsd.port.mk.bak bsd.port.mk
 --- 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
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2008-08-24 04:30:55 UTC
Responsible Changed
From-To: gnats-admin->freebsd-ports-bugs

Rescue from pending
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2008-08-24 09:31:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

portmgr territory.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2008-09-05 16:37:11 UTC
Just to let you know that this patch looks fine to me.  I will run it on
the cluster and then commit.

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

coat; door; pub; pint.
Comment 4 dfilter service freebsd_committer freebsd_triage 2009-01-11 11:04:20 UTC
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"
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2009-01-11 11:04:59 UTC
State Changed
From-To: open->closed

Committed, thanks!