summaryrefslogtreecommitdiff
path: root/lang/nodejs
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2016-05-30 19:52:49 +0000
committertnn <tnn@pkgsrc.org>2016-05-30 19:52:49 +0000
commitd92e08dd0c612c7649e0076e773e0a32646e651f (patch)
tree0bed71ced282770e7bc2c6601d79e7d2c42cd19d /lang/nodejs
parentfc9ed9f6e1992396de6db38b9fbc86fc3c473460 (diff)
downloadpkgsrc-d92e08dd0c612c7649e0076e773e0a32646e651f.tar.gz
Apply band-aid for PR pkg/51172 openssl rpath problem.
I tried and failed to reverse engineer the build framework to add the rpath in the right place. Give up for now and force it with WRAP_EXTRA_ARGS.CXX. At least it makes the package build again.
Diffstat (limited to 'lang/nodejs')
-rw-r--r--lang/nodejs/options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/nodejs/options.mk b/lang/nodejs/options.mk
index 840a8c722be..781b8fee320 100644
--- a/lang/nodejs/options.mk
+++ b/lang/nodejs/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.8 2016/04/01 08:21:05 fhajny Exp $
+# $NetBSD: options.mk,v 1.9 2016/05/30 19:52:49 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.node
PKG_SUPPORTED_OPTIONS= openssl dtrace icu
@@ -32,6 +32,8 @@ CONFIGURE_ARGS+= --with-intl=system-icu
BUILDLINK_API_DEPENDS.openssl+= openssl>=1.0.2
.include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --shared-openssl
+_WRAP_EXTRA_ARGS.CXX+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
+CWRAPPERS_APPEND.cxx+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
.else
CONFIGURE_ARGS+= --without-ssl
.endif