No, it's 10.4 for a reason. That version of ocaml won't install on 10.5 stock because 10.5 now conforms to UNIX03, which means there are some non-backwards-compatible changes with 10.4. By setting the deployment target to 10.4 we are saying "use the old 10.4 APIs, not the new UNIX03-compliant APIs", which means it once again compiles. On Nov 18, 2007, at 12:03 PM, William Davis wrote:
I reported this a week ago --http://trac.macports.org/projects/macports/ticket/13236 also if this *was* valid should it not be = 10.5 for darwin_9 not 10.4 as shown in portfile
@ Henry sudo port edit ocaml will let you edit the port file (assuming you have env value EDITOR defined) try adding # at the begining of those three lines
# platform darwin_9 # macosx_deployment_target 10.4 # }
Then try again. Note: this change will go away the next time you do sudo port selfupdate, but that doesnt matter if the software installed it will stay installed.
-- Kevin Ballard http://kevin.sb.org eridius@macports.org http://www.tildesoft.com