Committed by Greg Sabino Mullane <[email protected]>

Subject: [DBD::Pg 2/2] Soecify exactly what .pl and .pm files we want copied to 
the lib dirs,
rather than relying on the default wildcard method which was picking
up unwanted files. Per RT #84494
https://rt.cpan.org/Ticket/Display.html?id=84494

---
 Makefile.PL |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index b48d868..1510ea2 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -214,6 +214,10 @@ my %opts =
      NEEDS_LINKING  => 1,
      NO_META        => 1,
      NORECURS       => 1,
+     PM             => {
+                        'Pg.pm' => '$(INST_LIBDIR)/Pg.pm',
+                        'lib/Bundle/DBD/Pg.pm' => 
'$(INST_LIB)/Bundle/DBD/Pg.pm',
+                       },
      clean          => { FILES => 'trace Pg.xsi README.testdatabase' },
      realclean      => { FILES => 'dbdpg_test_database/' },
 );
-- 
1.7.1

Reply via email to