diff --git a/lang/nodejs/PLIST b/lang/nodejs/PLIST index ddb05a5301e0..9e1a16edacb3 100644 --- a/lang/nodejs/PLIST +++ b/lang/nodejs/PLIST @@ -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/v8.h 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 --git a/lang/nodejs/options.mk b/lang/nodejs/options.mk index fe21cfb24eec..77b6d86f882b 100644 --- a/lang/nodejs/options.mk +++ b/lang/nodejs/options.mk @@ -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 @@ PKG_SUGGESTED_OPTIONS+= dtrace .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