Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562518 - net-libs/nodejs-4.1.1: fails to build with USE=-npm
Summary: net-libs/nodejs-4.1.1: fails to build with USE=-npm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Johan Bergström
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-08 02:17 UTC by Jonathan Callen (RETIRED)
Modified: 2015-10-08 22:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix ebuild (nodejs.diff,857 bytes, patch)
2015-10-08 02:17 UTC, Jonathan Callen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Callen (RETIRED) gentoo-dev 2015-10-08 02:17:01 UTC
Created attachment 414042 [details, diff]
Patch to fix ebuild

When building nodejs-4.1.1 with USE=-npm, the build fails when attempting to remove license files from "${ED}"/usr/$(get_libdir)/node_modules, as that directory doesn't exist (as there's nothing to install there).

Attached is a patch that fixes this build error.
Comment 1 Johan Bergström 2015-10-08 02:33:18 UTC
good catch. feel free to bump in tree -- thanks!
Comment 2 Jonathan Callen (RETIRED) gentoo-dev 2015-10-08 22:54:51 UTC
Fixed in 071e6473715de3bf9e1626bd290ebafaaa3b2310