[26399] trunk/dports/math/nestedsums/Portfile

Landon Fuller landonf at macports.org
Thu Jun 21 13:14:25 PDT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20070621/6a109ac9/PGP.bin


More information about the macports-dev mailing list