summaryrefslogtreecommitdiff
path: root/devel/p5-Module-Build/patches/patch-aa
blob: abe78628a9411df70e0a9b08ec74b7a4d05ee3f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.3 2005/02/24 22:38:42 jlam Exp $

--- lib/Module/Build/Base.pm.orig	2005-01-26 20:48:56.000000000 -0500
+++ lib/Module/Build/Base.pm
@@ -2386,6 +2386,11 @@ sub install_map {
   }
   
   $map{read} = '';  # To keep ExtUtils::Install quiet
+
+  # Write the packlist into the same place as ExtUtils::MakeMaker.
+  my $archdir = $self->install_destination('arch');
+  my $ext = File::Spec->catdir(split /::/, $self->{properties}{module_name});
+  $map{write} = File::Spec->catdir($archdir, 'auto', $ext, '.packlist');
   
   return \%map;
 }