$OpenBSD: patch-deps_npm_node_modules_node-gyp_gyp_pylib_gyp_generator_make_py,v 1.3 2016/01/08 16:50:13 abieber Exp $
--- deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py.orig	Wed Dec 23 09:53:37 2015
+++ deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py	Thu Jan  7 15:46:17 2016
@@ -272,6 +272,7 @@ all_deps :=
 
 %(make_global_settings)s
 
+CXX := eg++
 CC.target ?= %(CC.target)s
 CFLAGS.target ?= $(CFLAGS)
 CXX.target ?= %(CXX.target)s
@@ -365,7 +366,7 @@ cmd_touch = touch $@
 
 quiet_cmd_copy = COPY $@
 # send stderr to /dev/null to ignore messages when linking directories.
-cmd_copy = rm -rf "$@" && cp -af "$<" "$@"
+cmd_copy = rm -rf "$@" && cp -pf "$<" "$@"
 
 %(link_commands)s
 """
