You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have a SlackBuild in pending for io.js, I am very excited to bring this great project to Slackware!
I would like to request this enhancement to packaging io.js, if feasible ... to get around being unable to change the library and man paths, I currently have this in the Slackware build script:
# Fix man page path.
sed -i 's|share/||' tools/install.py
sed -i '/var manRoot/ s/"share",//' deps/npm/lib/{,un}build.js
# Fix libdir for 64-bit.
sed -i "s|lib/|lib${LIBDIRSUFFIX}/|g" tools/install.py
sed -i "s/'lib'/'lib${LIBDIRSUFFIX}'/" lib/module.js
sed -i "s|\"lib\"|\"lib${LIBDIRSUFFIX}\"|" deps/npm/lib/npm.js
It'd be nice if io.js offered a typical configure flag option like --libdir and --mandir.
I can probably create a patch for this, but as you mention, {,un}build.js and npm.js from npm doesn't seem to be customisable either (just prefix), so you should probably file (with patch if possible) a request over at the npm tracker if one doesn't already exist.
To be honest, I think packagers are in the best position to cater this issue for now.
FWIW, I have some (old) commits that add --libdir and --mandir switches but I never upstreamed them. I wrote that when I was working on an RPM package but I ended up just dealing with it inside the .spec file.
Activity
jbergstroem commentedon Jan 19, 2015
I can probably create a patch for this, but as you mention,
{,un}build.jsandnpm.jsfrom npm doesn't seem to be customisable either (just prefix), so you should probably file (with patch if possible) a request over at the npm tracker if one doesn't already exist.To be honest, I think packagers are in the best position to cater this issue for now.
bnoordhuis commentedon Jan 19, 2015
FWIW, I have some (old) commits that add --libdir and --mandir switches but I never upstreamed them. I wrote that when I was working on an RPM package but I ended up just dealing with it inside the .spec file.
bnoordhuis/node@e0bffc4 configure, install: add --mandir configure switch
bnoordhuis/node@63abdfe configure, install: add --libdir configure switch
bnoordhuis/node@2d3cebe install: prepare for configurable libdir/mandir
ryanpcmcquen commentedon Jan 19, 2015
There was already an issue for npm that didn't get too far, so I've commented on that instead:
npm/npm#1112
ryanpcmcquen commentedon Jan 19, 2015
That one may be too unrelated, I've decided to start a new issue instead:
npm/npm#7166
Trott commentedon Jan 19, 2016
Just pinging some old issues to confirm that they should remain open. Hi. Is this still A Thing?
ryanpcmcquen commentedon Jan 19, 2016
Yeah, this still needs to happen, unfortunately I have not gotten to it. 😞
jbergstroem commentedon Jan 19, 2016
How about we close it and anyone that wants to create the feature can just PR?
ryanpcmcquen commentedon Jan 19, 2016
Works for me. 👍