Changeset 97880


Ignore:
Timestamp:
Sep 18, 2012, 6:51:54 PM (12 years ago)
Author:
ciserlohn@…
Message:

nodejs, nodejs-devel: let gyp use the python version from the chosen variant (fixes #36190)

Location:
trunk/dports/devel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/nodejs-devel/Portfile

    r97197 r97880  
    4747                   [rec_glob ${worksrcpath} *.py]] {
    4848        reinplace "s|/usr/bin/env python|${configure.python}|" ${f}
     49    }
     50    foreach gypfile [rec_glob ${worksrcpath} *.gyp] {
     51        reinplace "s|'python'|'${configure.python}'|" ${gypfile}
    4952    }
    5053    reinplace "s|/usr/bin/env node|${prefix}/bin/node|" ${worksrcpath}/tools/doc/node_modules/marked/bin/marked
  • trunk/dports/devel/nodejs/Portfile

    r97675 r97880  
    5151                   [rec_glob ${worksrcpath} *.py]] {
    5252        reinplace "s|/usr/bin/env python|${configure.python}|" ${f}
     53    }
     54    foreach gypfile [rec_glob ${worksrcpath} *.gyp] {
     55        reinplace "s|'python'|'${configure.python}'|" ${gypfile}
    5356    }
    5457    reinplace "s|/usr/bin/env node|${prefix}/bin/node|" ${worksrcpath}/tools/doc/node_modules/marked/bin/marked
Note: See TracChangeset for help on using the changeset viewer.