[libnetaddr-ip-perl] 02/06: Refresh lite_makefile.patch

Daniel Lintott dlintott-guest at moszumanska.debian.org
Mon Apr 7 15:34:56 UTC 2014


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

dlintott-guest pushed a commit to branch master
in repository libnetaddr-ip-perl.

commit 343dffe9225c90d10d5d40e6f790adda8479186c
Author: Daniel Lintott <daniel at serverb.co.uk>
Date:   Mon Apr 7 16:08:03 2014 +0100

    Refresh lite_makefile.patch
---
 debian/patches/lite_makefile.patch | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

diff --git a/debian/patches/lite_makefile.patch b/debian/patches/lite_makefile.patch
index 52ce07b..178df67 100644
--- a/debian/patches/lite_makefile.patch
+++ b/debian/patches/lite_makefile.patch
@@ -6,7 +6,7 @@ Last-Update: 2011-10-20
 
 --- a/Lite/Makefile.PL
 +++ b/Lite/Makefile.PL
-@@ -17,26 +17,26 @@
+@@ -17,32 +17,32 @@
      'dist'		=> {COMPRESS=>'gzip', SUFFIX=>'gz'}
  );
  
@@ -20,18 +20,30 @@ Last-Update: 2011-10-20
 +#  package MY;
 +#  my $inherited = shift->SUPER::top_targets(@_);
 +#  $inherited =~ s/(pure_all\s+::.+)/$1 README/;
-+#  $inherited;
++# $inherited;
 +#}
  
 -sub MY::post_constants {
--  my $post_constants = q|
--MY_POD2TEXT = |. $Config{scriptdirexp} .'/pod2text' .q|
+-  my $post_constants = $Config{scriptdirexp} .'/pod2text';
+-  if (-e $post_constants) {
+-    $post_constants = q|
+-MY_POD2TEXT = |. $post_constants .q|
 -|;
+-  } else {   
+-    $post_constants = q|
+-MY_POD2TEXT = echo "perl distro missing 'pod2text' to convert " |;
+-  }
 -}
 +#sub MY::post_constants {
-+#  my $post_constants = q|
-+#MY_POD2TEXT = |. $Config{scriptdirexp} .'/pod2text' .q|
++#  my $post_constants = $Config{scriptdirexp} .'/pod2text';
++#  if (-e $post_constants) {
++#    $post_constants = q|
++#MY_POD2TEXT = |. $post_constants .q|
 +#|;
++#  } else {   
++#    $post_constants = q|
++#MY_POD2TEXT = echo "perl distro missing 'pod2text' to convert " |;
++#  }
 +#}
  
 -sub MY::postamble {
@@ -42,7 +54,7 @@ Last-Update: 2011-10-20
 -
 -|;
 -}
-+##sub MY::postamble {
++#sub MY::postamble {
 +#  package MY;
 +#  my $postamble = q|
 +#README  : |. $module .q|

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



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