[87694] trunk/dports/lang/pypy
jmr at macports.org
jmr at macports.org
Thu Dec 1 10:39:45 PST 2011
Revision: 87694
http://trac.macports.org/changeset/87694
Author: jmr at macports.org
Date: 2011-12-01 10:39:43 -0800 (Thu, 01 Dec 2011)
Log Message:
-----------
pypy: use a symlink instead of a wrapper script (#32335), no rev bump since this is easily worked around and pypy is a huge build
Modified Paths:
--------------
trunk/dports/lang/pypy/Portfile
Removed Paths:
-------------
trunk/dports/lang/pypy/files/pypy-c
Modified: trunk/dports/lang/pypy/Portfile
===================================================================
--- trunk/dports/lang/pypy/Portfile 2011-12-01 18:31:57 UTC (rev 87693)
+++ trunk/dports/lang/pypy/Portfile 2011-12-01 18:39:43 UTC (rev 87694)
@@ -70,10 +70,10 @@
copy ${worksrcpath}/lib-python/2.7 ${worksrcpath}/lib-python/modified-2.7 \
${destroot}${prefix}/lib/${name}/lib-python
copy ${worksrcpath}/lib_pypy ${destroot}${prefix}/lib/${name}
+ # library search paths changed quite inconveniently such that the binary
+ # won't run if it's in ${prefix}/bin
xinstall -m 755 ${build.dir}/pypy-c ${destroot}${prefix}/lib/${name}
- # library search paths changed quite inconveniently such that it's easiest just to use a wrapper script
- xinstall -m 755 ${filespath}/pypy-c ${destroot}${prefix}/bin
- reinplace "s|__PREFIX__|${prefix}|" ${destroot}${prefix}/bin/pypy-c
+ ln -s ${prefix}/lib/${name}/pypy-c ${destroot}${prefix}/bin
}
variant opt1 description {use optimization level 1 for faster build (but slower execution)} {
Deleted: trunk/dports/lang/pypy/files/pypy-c
===================================================================
--- trunk/dports/lang/pypy/files/pypy-c 2011-12-01 18:31:57 UTC (rev 87693)
+++ trunk/dports/lang/pypy/files/pypy-c 2011-12-01 18:39:43 UTC (rev 87694)
@@ -1,2 +0,0 @@
-#!/bin/sh
-__PREFIX__/lib/pypy/pypy-c $@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111201/137035c0/attachment.html>
More information about the macports-changes
mailing list