ports/175809: [PATCH] www/node, www/node-devel: fix build with nondefailt LOCALBASE
Dmitry Marakasov
amdmi3 at amdmi3.ru
Mon Feb 4 01:20:01 UTC 2013
>Number: 175809
>Category: ports
>Synopsis: [PATCH] www/node, www/node-devel: fix build with nondefailt LOCALBASE
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 04 01:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Dmitry Marakasov
>Release: FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Wed Jun 13 17:39:20 MSK 2012
>Description:
node and node-devel do not build with nondefault localbase, failing to find libexecinfo headers and libs.
Build logs:
http://people.freebsd.org/~amdmi3/node-0.8.18.log
http://people.freebsd.org/~amdmi3/node-devel-0.9.8.log
Attached patches fix the problem.
>How-To-Repeat:
>Fix:
--- node.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 311530)
+++ Makefile (working copy)
@@ -33,6 +33,9 @@
post-patch:
@${RM} ${WRKSRC}/tools/wafadmin/Node.py.orig
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+ ${WRKSRC}/deps/v8/build/common.gypi \
+ ${WRKSRC}/deps/v8/tools/gyp/v8.gyp
post-install:
${MKDIR} ${PREFIX}/lib/node_modules/
--- node.patch ends here ---
--- node-devel.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 311531)
+++ Makefile (working copy)
@@ -27,6 +27,11 @@
PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,}
REINPLACE_ARGS= -i ''
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+ ${WRKSRC}/deps/v8/build/common.gypi \
+ ${WRKSRC}/deps/v8/tools/gyp/v8.gyp
+
post-install:
${MKDIR} ${PREFIX}/lib/node_modules/
${TOUCH} ${PREFIX}/lib/node_modules/.keepme
--- node-devel.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list