net-libs/nodejs: add optional support for dtrace-based tracing
authorMarco Leogrande <dark.knight.ita@gmail.com>
Fri, 11 Nov 2016 04:16:00 +0000 (20:16 -0800)
committerMichał Górny <mgorny@gentoo.org>
Fri, 2 Dec 2016 19:13:29 +0000 (20:13 +0100)
commit27a614a0ac1376d287e4ff6142f1dad61088ead8
tree2f6ead48e688be1aa8d714cb0d4e4eeeffcdb544
parent49dceb15a64192ec78e0874206544aea158c86d3
net-libs/nodejs: add optional support for dtrace-based tracing

NodeJS supports dtrace-based tracing, that can be used by
dev-util/systemtap and, more recently, dev-util/bcc. This support is
forcibly disabled in nodejs ebuilds.

This commit adds a systemtap USE flag to be able to turn on this
support conditionally. The name of this flag matches the choice done
for other ebuilds, like dev-db/mysql or app-emulation/qemu. Despite
what has been done in those ebuilds, however, a dependency on
dev-util/systemtap is not added: this is because, as of late,
systemtap is not the only consumer of those traces anymore.

Closes: https://github.com/gentoo/gentoo/pull/2803
net-libs/nodejs/metadata.xml
net-libs/nodejs/nodejs-7.2.0.ebuild