[61998] trunk/dports/python/py-numpy/Portfile

dh at macports.org dh at macports.org
Sun Dec 27 02:54:52 PST 2009


Revision: 61998
          http://trac.macports.org/changeset/61998
Author:   dh at macports.org
Date:     2009-12-27 02:54:51 -0800 (Sun, 27 Dec 2009)
Log Message:
-----------
Change post-destroot to handle Snow Leopard issues.  Fixes #22571

Modified Paths:
--------------
    trunk/dports/python/py-numpy/Portfile

Modified: trunk/dports/python/py-numpy/Portfile
===================================================================
--- trunk/dports/python/py-numpy/Portfile	2009-12-27 10:54:42 UTC (rev 61997)
+++ trunk/dports/python/py-numpy/Portfile	2009-12-27 10:54:51 UTC (rev 61998)
@@ -32,7 +32,9 @@
 }
 
 post-destroot {
-  move ${destroot}${prefix}/bin/f2py ${destroot}${prefix}/bin/f2py2.4
+  if {${os.platform} == "darwin" && ${os.major} < 10} {
+    move ${destroot}${prefix}/bin/f2py ${destroot}${prefix}/bin/f2py${python.branch}
+  }
 }
 
 livecheck.distname  NumPy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091227/7bc1c847/attachment.html>


More information about the macports-changes mailing list