[pdl] 21/25: Add patch to fix doc_vendor_install target by supporting DESTDIR.

Bas Couwenberg sebastic at debian.org
Sun Jun 12 21:29:13 UTC 2016


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

sebastic pushed a commit to branch master
in repository pdl.

commit f3e28d108c0fddcd35bfd711cf7008d30b8ec9c8
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jun 12 21:14:19 2016 +0200

    Add patch to fix doc_vendor_install target by supporting DESTDIR.
---
 debian/changelog                        |  1 +
 debian/patches/doc_vendor_install.patch | 35 +++++++++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 37 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 07db28c..862d7e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,7 @@ pdl (1:2.016-1) UNRELEASED; urgency=medium
   * Update perldl.conf for PDL 2.016.
   * Add libinline-c-perl to (build) dependencies.
   * Ignore test failures to not fail the entire build.
+  * Add patch to fix doc_vendor_install target by supporting DESTDIR.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 12 Jun 2016 16:00:28 +0200
 
diff --git a/debian/patches/doc_vendor_install.patch b/debian/patches/doc_vendor_install.patch
new file mode 100644
index 0000000..a19d293
--- /dev/null
+++ b/debian/patches/doc_vendor_install.patch
@@ -0,0 +1,35 @@
+Description: Fix doc_vendor_install target by supporting DESTDIR.
+ can't write to symdb /usr/lib/x86_64-linux-gnu/perl5/5.22/PDL/pdldoc.db at blib/lib/PDL/Doc.pm line 497.
+         PDL::Doc::savedb(PDL::Doc=HASH(0x879f30)) called at Doc/scantree.pl line 42
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -546,21 +546,21 @@ doctest ::
+ 
+ doc_site_install ::
+ 	$(NOECHO) $(ECHO) "doc_site_install: Building PDL documentation database ..."
+-	$(NOECHO) $(PERLRUNINST) Doc$(DFSEP)scantree.pl "$(INSTALLSITEARCH)"
++	$(NOECHO) $(PERLRUNINST) Doc$(DFSEP)scantree.pl "$(DESTDIR)$(INSTALLSITEARCH)"
+ %HTML%	$(NOECHO) $(ECHO) "doc_site_install: Building PDL documentation web pages ..."
+-%HTML%	$(NOECHO) $(PERL) Doc$(DFSEP)mkhtmldoc.pl "$(INSTALLSITEARCH)$(DFSEP)PDL"
++%HTML%	$(NOECHO) $(PERL) Doc$(DFSEP)mkhtmldoc.pl "$(DESTDIR)$(INSTALLSITEARCH)$(DFSEP)PDL"
+ 
+ doc_vendor_install ::
+ 	$(NOECHO) $(ECHO) "doc_vendor_install: Building PDL documentation database ..."
+-	$(NOECHO) $(PERLRUNINST) Doc$(DFSEP)scantree.pl "$(INSTALLVENDORARCH)"
++	$(NOECHO) $(PERLRUNINST) Doc$(DFSEP)scantree.pl "$(DESTDIR)$(INSTALLVENDORARCH)"
+ %HTML%	$(NOECHO) $(ECHO) "doc_vendor_install: Building PDL documentation web pages ..."
+-%HTML%	$(NOECHO) $(PERL) Doc$(DFSEP)mkhtmldoc.pl "$(INSTALLVENDORARCH)$(DFSEP)PDL"
++%HTML%	$(NOECHO) $(PERL) Doc$(DFSEP)mkhtmldoc.pl "$(DESTDIR)$(INSTALLVENDORARCH)$(DFSEP)PDL"
+ 
+ doc_perl_install ::
+ 	$(NOECHO) $(ECHO) "doc_perl_install: Building PDL documentation database ..."
+-	$(NOECHO) $(PERLRUNINST) Doc$(DFSEP)scantree.pl "$(INSTALLARCHLIB)"
++	$(NOECHO) $(PERLRUNINST) Doc$(DFSEP)scantree.pl "$(DESTDIR)$(INSTALLARCHLIB)"
+ %HTML%	$(NOECHO) $(ECHO) "doc_perl_install: Building PDL documentation web pages ..."
+-%HTML%	$(NOECHO) $(PERL) Doc$(DFSEP)mkhtmldoc.pl "$(INSTALLARCHLIB)$(DFSEP)PDL"
++%HTML%	$(NOECHO) $(PERL) Doc$(DFSEP)mkhtmldoc.pl "$(DESTDIR)$(INSTALLARCHLIB)$(DFSEP)PDL"
+ ';
+ 
+   if(defined $PDL::Config{HTML_DOCS} && !$PDL::Config{HTML_DOCS}){
diff --git a/debian/patches/series b/debian/patches/series
index 70f8223..463815d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@
 #slatec_default_integer_8.patch
 #minuit_default_integer_8.patch
 #gsl-2.patch
+doc_vendor_install.patch

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



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