request for help (uberftp) ...

Ryan Schmidt ryandesign at macports.org
Tue Sep 3 16:05:45 PDT 2013


On Sep 3, 2013, at 17:04, Peter Danecek wrote:

> On Sep 3, 2013, at 23:48 , Ryan Schmidt wrote:
> 
>> On Sep 3, 2013, at 16:30, Peter Danecek wrote:
>> 
>>> In the shell I would do something like this:
>>> 
>>> /opt/local/sbin/gpt-query globus_gssapi_gsi | grep globus_gssapi_gsi | awk -F- 'NR==1 {print $2}'
>>> 
>>> How to do something equivalent in TCL?
>> 
>> First we should figure out if that's the correct thing to do.
>> 
>> On your system this produces "gcc64pthr". Under what circumstances would it produce a different value?
> 
> Actually this is inspired by the install guide to uberftp (see here: http://dims.ncsa.illinois.edu/set/uberftp/install.html) and at least on my Mac OS X 10.5 system this would produce gcc32pthr. But maybe you right and in the context of could just make a simple distinction between 32bit and 64bit systems.

If it depends on the bitness, then you will want to base it off the ${build_arch} variable. And you'll have to decide how to handle the universal variant, since a universal build on modern systems means i386 and x86_64 -- 32-bit and 64-bit.



More information about the macports-dev mailing list