Created attachment 176336 [details] node7-7.0.0 Copy from www/node and adapt for the latest major version. Remove all existing patches from files/ to give this port a fresh start.
Created attachment 176400 [details] www/node7, updated portlint: OK (-AC, spurious warning about possible use of "python") testport: OK (poudriere: 11.0-R, 10.[123]-R, 9.3-R, amd64/i386, default options) testport: OK (poudriere: 11.0-R, 10.[123]-R, 9.3-R, amd64/i386, BUNDLED_SSL)
Created attachment 176877 [details] www/node7: Add node.js v7.1.0 Copy from www/node and adapt for the latest major version. Remove all existing patches from files/ to give this port a fresh start. Update CONFLICTS_INSTALL on all www/node* ports.
portlint: OK (-AC, spurious warning about possible direct use of "python") testport: OK (poudriere: 11.0-R, 10.[123]-R, 9.3-R, amd64/i386, default options) testport: OK (poudriere: 11.0-R, 10.[123]-R, 9.3-R, amd64/i386, BUNDLED_SSL)
The file duplication effect re-occurs here, too. I did: svn copy node node7 fetch -o pp https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176877 Then I put the files for node7 into file ppp and: cd node7 patch < ppp this caused the duplication -- but why ?
Testbuilds@work
You write: Remove all existing patches from files/ to give this port a fresh start. But if I svn copy from www/node, and apply your patch, those files/* are still there. Now my question: should files/ be removed completely or not ? It builds only if I remove files/patch-deps_v8_src_profiler_sampler.cc, but the other patches are still applying...
Copying the directory and then applying the patch might cause that. The attached patch creates all the files needed in www/node7 without needing a copy first.
And yes, there should be nothing in files/. Thanks again for the help, Kurt :)
Committed, thanks!
Ups, too early...
A commit references this bug: Author: pi Date: Sat Nov 19 22:03:40 UTC 2016 New revision: 426540 URL: https://svnweb.freebsd.org/changeset/ports/426540 Log: www/node7: Add Node.js 7.1.0, copied from www/node PR: 213945 Submitted by: Bradley T. Hughes <bradleythughes@fastmail.fm> (maintainer) Changes: head/www/Makefile head/www/node/Makefile head/www/node012/Makefile head/www/node4/Makefile head/www/node6/Makefile head/www/node7/ head/www/node7/Makefile head/www/node7/distinfo head/www/node7/files/ head/www/node7/pkg-descr head/www/node7/pkg-plist
Thanks! :)