[SCM] Debian packaging of Text-BibTeX CPAN distribution branch, master, updated. upstream/0.62-37-g42afabe

gregor herrmann gregoa at debian.org
Sun Mar 4 02:04:32 UTC 2012


The following commit has been merged in the master branch:
commit 75af380ef34669824136afb6b79dcca20b5a2ce6
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Mar 4 02:45:12 2012 +0100

    Add a patch to make sure ldconfig is not run during package build.

diff --git a/debian/patches/0005-no-ldconfig.patch b/debian/patches/0005-no-ldconfig.patch
new file mode 100644
index 0000000..e7f4bc3
--- /dev/null
+++ b/debian/patches/0005-no-ldconfig.patch
@@ -0,0 +1,23 @@
+Description: make sure we don't run ldconfig
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2012-03-04
+
+--- a/inc/MyBuilder.pm
++++ b/inc/MyBuilder.pm
+@@ -30,10 +30,10 @@
+         $self->install_path( 'usrlib' => $usrlib );
+     }
+     $self->SUPER::ACTION_install;
+-    if ($^O =~ /linux/ && $ENV{USER} eq 'root') {
+-        my $linux = Config::AutoConf->check_prog("ldconfig");
+-        system $linux if (-x $linux);
+-    }
++#    if ($^O =~ /linux/ && $ENV{USER} eq 'root') {
++#        my $linux = Config::AutoConf->check_prog("ldconfig");
++#        system $linux if (-x $linux);
++#    }
+     if ($^O =~ /(?:linux|bsd|sun|sol|dragonfly|hpux|irix|darwin)/
+         &&
+         $usrlib !~ m!^/usr(/local)?/lib/?$!)
diff --git a/debian/patches/series b/debian/patches/series
index 716c677..66b50d0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-Use-the-right-path-of-perl.patch
 0003-Introduce-a-btparse_api_version-note-and-use-it-in-d.patch
 0004-disable-rpath-if-installing-into-usr-lib.patch
+0005-no-ldconfig.patch

-- 
Debian packaging of Text-BibTeX CPAN distribution



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