[libwww-form-urlencoded-perl] 06/06: patch: don't install into $Config{vendorarch}

gregor herrmann gregoa at debian.org
Sat Oct 22 23:49:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libwww-form-urlencoded-perl.

commit 65cb377bea88525661c9f3975a1207b495b17a5d
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Oct 23 01:46:16 2016 +0200

    patch: don't install into $Config{vendorarch}
---
 debian/patches/arch_all.patch | 24 ++++++++++++++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 25 insertions(+)

diff --git a/debian/patches/arch_all.patch b/debian/patches/arch_all.patch
new file mode 100644
index 0000000..4fb40b1
--- /dev/null
+++ b/debian/patches/arch_all.patch
@@ -0,0 +1,24 @@
+Description: no need to install pure perl code into $Config{vendorarch}
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-10-23
+
+--- a/builder/MyBuilder.pm
++++ b/builder/MyBuilder.pm
+@@ -9,11 +9,11 @@
+ sub ACTION_code {
+     my $self = shift;
+     $self->SUPER::ACTION_code();
+-    my $archdir = File::Spec->catdir($self->blib,'arch','auto','WWW','Form','UrlEncoded','XS');
+-    File::Path::mkpath($archdir, 0, oct(777)) unless -d $archdir;
+-    my $keep_arch = File::Spec->catfile($archdir,'.keep');
+-    open(my $fh,'>',$keep_arch) or die "Couldnot open file for write: $keep_arch, $!";
+-    print $fh "This file required to install files to archdir for backward compatibility\n";
++#    my $archdir = File::Spec->catdir($self->blib,'arch','auto','WWW','Form','UrlEncoded','XS');
++#    File::Path::mkpath($archdir, 0, oct(777)) unless -d $archdir;
++#    my $keep_arch = File::Spec->catfile($archdir,'.keep');
++#    open(my $fh,'>',$keep_arch) or die "Couldnot open file for write: $keep_arch, $!";
++#    print $fh "This file required to install files to archdir for backward compatibility\n";
+ }
+ 
+ 1;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..81de192
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+arch_all.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libwww-form-urlencoded-perl.git



More information about the Pkg-perl-cvs-commits mailing list