21 Jun
2007
21 Jun
'07
8:14 p.m.
On Jun 21, 2007, at 02:45, Ryan Schmidt wrote:
On Jun 21, 2007, at 04:31, Ryan Schmidt wrote:
But could you please not output messages and exit merely in a platform statement? Please do so only within a stage such as pre- fetch, e.g.:
platfrom darwin 7 { pre-fetch { ui_msg "GiNaC is not supported on Panther (OS X 10.3.x)." exit 1 } }
Otherwise, people running port info, portindex, etc. on darwin 7 will be inconvenienced by the exit.
Sorry; I didn't see Chris already made these points.
It really bears re-iterating though. Calling exit(1) in a Portfile is just bad news, at any stage. Maybe we should remove that procedure from the Portfile Tcl interpreter ... -landonf