[56539] trunk/dports/python/py25-numpy/Portfile

ram at macports.org ram at macports.org
Sat Aug 29 15:20:48 PDT 2009


Revision: 56539
          http://trac.macports.org/changeset/56539
Author:   ram at macports.org
Date:     2009-08-29 15:20:44 -0700 (Sat, 29 Aug 2009)
Log Message:
-----------
python/py25-numpy: fix for #20868

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

Modified: trunk/dports/python/py25-numpy/Portfile
===================================================================
--- trunk/dports/python/py25-numpy/Portfile	2009-08-29 21:53:49 UTC (rev 56538)
+++ trunk/dports/python/py25-numpy/Portfile	2009-08-29 22:20:44 UTC (rev 56539)
@@ -30,8 +30,11 @@
   reinplace "s|@@MPORTS_PYTHON@@|${python.bin}|" ${worksrcpath}/numpy/f2py/setup.py
 }
 
+
 post-destroot {
-  move ${destroot}${prefix}/bin/f2py ${destroot}${prefix}/bin/f2py${python.branch}
+  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/20090829/231f808d/attachment.html>


More information about the macports-changes mailing list