pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/nodejs Fix PLIST for non-dtrace case.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dcdd5057bd57
branches:  trunk
changeset: 634064:dcdd5057bd57
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu May 08 09:15:40 2014 +0000

description:
Fix PLIST for non-dtrace case.

diffstat:

 lang/nodejs/PLIST      |  4 ++--
 lang/nodejs/options.mk |  5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 01aca1ebe30c -r dcdd5057bd57 lang/nodejs/PLIST
--- a/lang/nodejs/PLIST Thu May 08 09:08:30 2014 +0000
+++ b/lang/nodejs/PLIST Thu May 08 09:15:40 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2014/05/02 11:18:55 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.14 2014/05/08 09:15:40 wiz Exp $
 bin/node
 bin/npm
 include/node/ares.h
@@ -29,7 +29,7 @@
 include/node/v8stdint.h
 include/node/zconf.h
 include/node/zlib.h
-lib/dtrace/node.d
+${PLIST.dtrace}lib/dtrace/node.d
 lib/node_modules/npm/.npmignore
 lib/node_modules/npm/.tern-project
 lib/node_modules/npm/.travis.yml
diff -r 01aca1ebe30c -r dcdd5057bd57 lang/nodejs/options.mk
--- a/lang/nodejs/options.mk    Thu May 08 09:08:30 2014 +0000
+++ b/lang/nodejs/options.mk    Thu May 08 09:15:40 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2013/06/26 11:51:50 jperkin Exp $
+# $NetBSD: options.mk,v 1.4 2014/05/08 09:15:40 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.node
 PKG_SUPPORTED_OPTIONS= openssl dtrace
@@ -11,8 +11,11 @@
 
 .include "../../mk/bsd.options.mk"
 
+PLIST_VARS+=   dtrace
+
 .if !empty(PKG_OPTIONS:Mdtrace)
 CONFIGURE_ARGS+=       --with-dtrace
+PLIST.dtrace=  yes
 .else
 CONFIGURE_ARGS+=       --without-dtrace
 .endif



Home | Main Index | Thread Index | Old Index