Date: Mon, 27 Jun 2016 10:33:06 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 210618] [maintainer] www/node, www/node4, www/node5: work around build breakages due to include path ordering Message-ID: <bug-210618-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210618 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@FreeBSD.org Reporter: bradleythughes@fastmail.fm Created attachment 171860 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D171860&action= =3Dedit 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+=3Dlocalbase 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210618-13>