[142080] trunk/dports/devel/nodejs-devel/Portfile

ciserlohn at macports.org ciserlohn at macports.org
Sat Dec 12 04:14:46 PST 2015


Revision: 142080
          https://trac.macports.org/changeset/142080
Author:   ciserlohn at macports.org
Date:     2015-11-03 02:16:11 -0800 (Tue, 03 Nov 2015)
Log Message:
-----------
nodejs-devel: always use the correct python

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

Modified: trunk/dports/devel/nodejs-devel/Portfile
===================================================================
--- trunk/dports/devel/nodejs-devel/Portfile	2015-11-03 10:13:04 UTC (rev 142079)
+++ trunk/dports/devel/nodejs-devel/Portfile	2015-11-03 10:16:11 UTC (rev 142080)
@@ -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/f4bb4d9a/attachment.html>


More information about the macports-changes mailing list