[142032] trunk/dports/devel/nodejs/Portfile

ciserlohn at macports.org ciserlohn at macports.org
Sat Dec 12 04:02:35 PST 2015


Revision: 142032
          https://trac.macports.org/changeset/142032
Author:   ciserlohn at macports.org
Date:     2015-11-02 04:36:34 -0800 (Mon, 02 Nov 2015)
Log Message:
-----------
nodejs: always use the correct python (closes #49549)

Modified Paths:
--------------
    trunk/dports/devel/nodejs/Portfile

Modified: trunk/dports/devel/nodejs/Portfile
===================================================================
--- trunk/dports/devel/nodejs/Portfile	2015-11-02 12:27:19 UTC (rev 142031)
+++ trunk/dports/devel/nodejs/Portfile	2015-11-02 12:36:34 UTC (rev 142032)
@@ -52,9 +52,10 @@
                    [rec_glob ${worksrcpath} *.py]] {
         reinplace "s|/usr/bin/env python|${configure.python}|" ${f}
     }
-    foreach gypfile [rec_glob ${worksrcpath} *.gyp] {
+    foreach gypfile [rec_glob ${worksrcpath} *.gyp*] {
         reinplace "s|'python'|'${configure.python}'|" ${gypfile}
     }
+    reinplace "s|python|${configure.python}|" ${worksrcpath}/deps/v8/build/toolchain.gypi
     reinplace "s|/usr/bin/env node|${prefix}/bin/node|" ${worksrcpath}/tools/doc/node_modules/marked/bin/marked
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/487a3d69/attachment.html>


More information about the macports-changes mailing list