[27705] trunk/dports/x11/gtk2/Portfile

Ryan Schmidt ryandesign at macports.org
Mon Aug 13 17:54:23 PDT 2007


On Aug 12, 2007, at 10:40, N_Ox wrote:

> Le 12 août 07 à 16:39, Randall Wood a écrit :
>
>> On 12 Aug 2007, at 10:23, N_Ox wrote:
>>
>>> Le 12 août 07 à 15:57, Randall Wood a écrit :
>>>
>>>> What would be the best way to check for darwin platforms with a  
>>>> version less than 8 in a Portfile?
>>>>
>>>> On 12 Aug 2007, at 09:50, source_changes at macosforge.org wrote:
>>>>
>>>>> Revision 27705 Author rhwood at macports.org Date 2007-08-12  
>>>>> 06:50:02 -0700 (Sun, 12 Aug 2007) Log Message configure.env ->  
>>>>> configure.*flags-append statements redo dependencies based on  
>>>>> trace output replace ui_msg blah ; exit 1 statements with  
>>>>> return 1 blah statements Modified Paths
>>>>> trunk/dports/x11/gtk2/Portfile
>>>>> <snip>
>>>
>>> On a side note, should not the return statement be `return -code  
>>> 1 blah`?
>>
>> Beats me. This statement is not documented in "man portfile" or in  
>> the guide at http://geeklair.net/new_macports_guide
>
> This is a standard TCL procedure, see return(n).

I'm not familiar with standard TCL procedures, and I'd estimate most  
port authors aren't. We just know enough to get by to write  
portfiles. I for one would certainly appreciate it if everything  
necessary to write portfiles, including standard TCL, were documented  
in the guide and/or the manpage.




More information about the macports-dev mailing list