Description: we're installing flamegraph.pl under /usr/share
 so call it from there
Origin: vendor
Bug-Debian: https://bugs.debian.org/718731
Forwarded: https://github.com/timbunce/devel-nytprof/issues/13
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-06-08

--- a/bin/nytprofhtml
+++ b/bin/nytprofhtml
@@ -80,6 +80,7 @@
 
 my $flamegraph   = File::Spec->catfile($Config{'bin'}, 'flamegraph') . $script_ext;
 $flamegraph      = which "flamegraph$script_ext" if not -e $flamegraph;
+$flamegraph      = '/usr/share/perl5/Devel/NYTProf/flamegraph.pl';
 
 die "Unable to find flamegraph$script_ext in $Config{bin} or on the PATH"
     unless $flamegraph;
