Suggestions on how to deal with architecture detection for pam authentication in pure-ftpd
Scott Haneda
talklists at newgeo.com
Sat May 1 11:40:38 PDT 2010
On May 1, 2010, at 10:35 AM, Ryan Schmidt wrote:
> You can use the ${os.version} variable and the rpm-vercomp procedure. See the xinit port for an example; it has special step it only runs on 10.6.3 and later.
>
> http://guide.macports.org/chunked/reference.variables.html
Where can I find return values for "os.version" and "os.platform"?
Are you aware of a port that does basic conditional testing for 10.5 and 10.6 that I can look at as an example?
I am essentially looking for
if os.version <= 10.5
...
else
...
end if
Thanks
--
Scott * If you contact me off list replace talklists@ with scott@ *
More information about the macports-dev
mailing list