[libgnome2-perl] 06/06: add patch adding -p to an extra mkdir invocation, causing failure if the directory already exists

Damyan Ivanov dmn at alioth.debian.org
Thu Oct 17 16:47:02 UTC 2013


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

dmn pushed a commit to branch master
in repository libgnome2-perl.

commit 65ae3d67ca96f9fdbff465c35663290f5b5f1678
Author: Damyan Ivanov <dmn at debian.org>
Date:   Thu Oct 17 16:42:59 2013 +0000

    add patch adding -p to an extra mkdir invocation, causing failure if the directory already exists
---
 debian/changelog                      |    2 ++
 debian/patches/pods-extra-mkdir.patch |   19 +++++++++++++++++++
 debian/patches/series                 |    1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 26b5679..8df227e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,8 @@ libgnome2-perl (1.043-1) UNRELEASED; urgency=low
   * require debhelper 9.20120312 and set the compatibility level to 9 in order
     to get all the hardening magic
   * source format '3.0 (quilt)'
+  * add patch adding -p to an extra mkdir invocation, causing failure if the
+    directory already exists
 
  -- Ryan Niebur <ryan at debian.org>  Fri, 25 Sep 2009 00:24:56 -0700
 
diff --git a/debian/patches/pods-extra-mkdir.patch b/debian/patches/pods-extra-mkdir.patch
new file mode 100644
index 0000000..d0abec7
--- /dev/null
+++ b/debian/patches/pods-extra-mkdir.patch
@@ -0,0 +1,19 @@
+Description: do not fail maiking an already existing directory
+ For some reason blib/lib/$(NAME) already exists here (perl 5.18/Debian unstable)
+ .
+ Passing -p switch to mkdir avoids the failure if the directory already exists,
+ while allowing it to be create if it doesn't
+Author: Damyan Ivanov <dmn at debian.org>
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=710403
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -182,7 +182,7 @@ sub MY::postamble {
+ 		)
+           . "
+ \$(INST_LIB)/\$(FULLEXT)/enums.pod : \$(BLIB_DONE) maps podifyenums.pl
+-	mkdir blib/lib/\$(NAME)
++	mkdir -p blib/lib/\$(NAME)
+ 	\$(PERLRUNINST) -M\$(NAME) podifyenums.pl \$(NAME) maps > \$@
+ ";
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1d7dd61
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+#pods-extra-mkdir.patch

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



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