[61506] trunk/dports/www/webdot/Portfile
Joshua Root
jmr at macports.org
Sun Dec 13 09:28:13 PST 2009
On 2009-12-14 00:14 , ryandesign at macports.org wrote:
> Revision: 61506
> http://trac.macports.org/changeset/61506
> Author: ryandesign at macports.org
> Date: 2009-12-13 05:14:03 -0800 (Sun, 13 Dec 2009)
> Log Message:
> -----------
> webdot: fix ui_msg to match MacPorts 1.8's command line flags
>
> Modified Paths:
> --------------
> trunk/dports/www/webdot/Portfile
>
> Modified: trunk/dports/www/webdot/Portfile
> ===================================================================
> --- trunk/dports/www/webdot/Portfile 2009-12-13 13:13:11 UTC (rev 61505)
> +++ trunk/dports/www/webdot/Portfile 2009-12-13 13:14:03 UTC (rev 61506)
> @@ -36,7 +36,7 @@
> }
> ui_msg "${name} requires that ${graphviz_port} first be installed with the +tcl variant."
> ui_msg "Rebuild ${graphviz_port} using:"
> - ui_msg " sudo port -nf upgrade ${graphviz_port} +tcl"
> + ui_msg " sudo port -n upgrade --force ${graphviz_port} +tcl"
> return -code error "${graphviz_port} missing +tcl variant"
> }
> }
What if tcl is not installed when the user runs this command? Wouldn't
this be more appropriate?
Index: Portfile
===================================================================
--- Portfile (revision 61513)
+++ Portfile (working copy)
@@ -36,7 +36,7 @@
}
ui_msg "${name} requires that ${graphviz_port} first be
installed with the +tcl variant."
ui_msg "Rebuild ${graphviz_port} using:"
- ui_msg " sudo port -n upgrade --force ${graphviz_port} +tcl"
+ ui_msg " sudo port upgrade --enforce-variants
${graphviz_port} +tcl"
return -code error "${graphviz_port} missing +tcl variant"
}
}
- Josh
More information about the macports-dev
mailing list