File: install-module.patch

package info (click to toggle)
libdata-treedumper-perl 0.43-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 532 kB
  • sloc: perl: 7,133; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Only install the actual Perl module, not all the support scripts.
Forwarded: not-needed
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2011-02-24

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -18,6 +18,11 @@
 	$prerequisits->{'Win32::Console'} = 0
 	}
 
+sub MY::libscan
+{
+	return $_[1] =~ /\.pm$/? $_[1]: '';
+}
+
 WriteMakefile(
     'NAME'		=> 'Data::TreeDumper',
     'VERSION_FROM'	=> 'TreeDumper.pm', # finds $VERSION