[37373] trunk/base/src/port/port.tcl

raimue at macports.org raimue at macports.org
Wed Jun 4 17:08:36 PDT 2008


Revision: 37373
          http://trac.macosforge.org/projects/macports/changeset/37373
Author:   raimue at macports.org
Date:     2008-06-04 17:08:35 -0700 (Wed, 04 Jun 2008)

Log Message:
-----------
port/port.tcl:
Add new option --depends to port info,
which is a shorthand for --depends_bin --depends_lib --depends_build

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2008-06-04 23:30:32 UTC (rev 37372)
+++ trunk/base/src/port/port.tcl	2008-06-05 00:08:35 UTC (rev 37373)
@@ -1347,6 +1347,13 @@
             platforms       1
             variants        1
         "
+
+        if {[info exists options(ports_info_depends)] && $options(ports_info_depends) == "yes"} {
+            array unset options ports_info_depends
+            set options(ports_info_depends_build) yes
+            set options(ports_info_depends_lib) yes
+            set options(ports_info_depends_run) yes
+        }
                 
         # Set up our field separators
         set show_label 1
@@ -2613,10 +2620,11 @@
 global cmd_args_array
 array set cmd_args_array {
     info        {{category 0} {categories 0} {depends_build 0} {depends_lib 0}
-                {depends_run 0} {description 0} {epoch 0} {homepage 0}
-                {index 0} {line 0} {long_description 0} {maintainer 0}
-                {maintainers 0} {name 0} {platform 0} {platforms 0} {portdir 0}
-                {revision 0} {variant 0} {variants 0} {version 0}}
+                {depends_run 0} {depends 0} {description 0} {epoch 0}
+                {homepage 0} {index 0} {line 0} {long_description 0}
+                {maintainer 0} {maintainers 0} {name 0} {platform 0}
+                {platforms 0} {portdir 0} {revision 0} {variant 0} {variants 0}
+                {version 0}}
     search      {{line 0}}
     selfupdate  {{nosync 0} {pretend 0}}
     uninstall   {{follow-dependents 0}}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080604/8b9bf0bc/attachment.htm 


More information about the macports-changes mailing list