Fix PLIST for non-dtrace case.

This commit is contained in:
wiz 2014-05-08 09:15:40 +00:00
parent 920ec46647
commit 2748c8ad16
2 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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