Ticket #22571: Portfile-py-numpy.diff

File Portfile-py-numpy.diff, 394 bytes (added by christopherglong@…, 15 years ago)

I made dh's changes and tested them on 10.4/PPC and 10.6/Intel using numpy.test('full', 2) and it works perfectly. Here's the patch to the Portfile with his changes.

  • Portfile

    old new  
    3232}
    3333
    3434post-destroot {
    35   move ${destroot}${prefix}/bin/f2py ${destroot}${prefix}/bin/f2py2.4
     35  if {${os.platform} == "darwin" && ${os.major} < 10} {
     36    move ${destroot}${prefix}/bin/f2py ${destroot}${prefix}/bin/f2py${python.branch}
     37  }
    3638}
    3739
    3840livecheck.distname  NumPy