[Bug 210618] [maintainer] www/node, www/node4, www/node5: work around build breakages due to include path ordering
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 27 10:33:06 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210618
Bug ID: 210618
Summary: [maintainer] www/node, www/node4, www/node5: work
around build breakages due to include path ordering
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: bradleythughes at fastmail.fm
Created attachment 171860
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171860&action=edit
patch from a git commit, apply with patch -p1
Add a post-configure step to strip out all occurrences of
-I${LOCALBASE}/include. Rely instead on USES+=localbase to tell the
compiler where to find includes from external dependencies.
After r416894, node.js builds will use external dependencies instead of
bundled ones. Fallout from this changes includes several build
breakages. All come from the fact that the node-gyp build process adds
-I${LOCALBASE}/include to CFLAGS before all others, including its own
bundled dependencies. This causes the build to incorrectly pick up
include files from any packages in ${LOCALBASE}, rather than the bundled
libraries as intended.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list