pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/nodejs Apply band-aid for PR pkg/51172 openssl rp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e9b7f4dbf25
branches:  trunk
changeset: 347810:4e9b7f4dbf25
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon May 30 19:52:49 2016 +0000

description:
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:

 lang/nodejs/options.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 1518825106d0 -r 4e9b7f4dbf25 lang/nodejs/options.mk
--- a/lang/nodejs/options.mk    Mon May 30 19:11:49 2016 +0000
+++ b/lang/nodejs/options.mk    Mon May 30 19:52:49 2016 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index