[libxml-libxslt-perl] 02/03: Refresh trim_libs.patch patch

Salvatore Bonaccorso carnil at debian.org
Sun Feb 16 00:00:13 UTC 2014


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

carnil pushed a commit to branch master
in repository libxml-libxslt-perl.

commit ca6f795b6e12b1d0afdc598ab865ddd890f32e22
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sun Feb 16 00:50:55 2014 +0100

    Refresh trim_libs.patch patch
---
 debian/patches/trim_libs.patch | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/debian/patches/trim_libs.patch b/debian/patches/trim_libs.patch
index d69fd89..11d1377 100644
--- a/debian/patches/trim_libs.patch
+++ b/debian/patches/trim_libs.patch
@@ -2,24 +2,25 @@ Description: avoid linkage to all libs perl is linked
 Forwarded: probably not
 Author: Damyan Ivanov
 Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2013-03-02
+Reviewed-by: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2014-02-16
 
 --- a/Makefile.PL
 +++ b/Makefile.PL
-@@ -108,31 +108,6 @@
+@@ -128,31 +128,6 @@
    }
  }
  
--if ($config{LIBS} !~ /\-lz(lib)?\b/ and !($is_win32 && $config{LIBS} !~ /\-lzlib\b/)) {
+-if ($config{LIBS} !~ /\-lz(lib)?\b/ and !($::is_Win32 && $config{LIBS} !~ /\-lzlib\b/)) {
 -    # note if libxml2 has not -lz within its cflags, we should not use
 -    # it! We should trust libxml2 and assume libz is not available on the
 -    # current system (this is ofcourse not true with win32 systems.
--    # $config{LIBS} .= $is_Win32 ? ' -lzlib' :' -lz';
+-    # $config{LIBS} .= $::is_Win32 ? ' -lzlib' :' -lz';
 -    if ( $config{DEBUG} ) {
 -        warn "zlib was not configured\n";
--        warn "set zlib\n" if $is_Win32;
+-        warn "set zlib\n" if $::is_Win32;
 -    }
--  if ($is_Win32) {
+-  if ($::is_Win32) {
 -    if( $ENV{ACTIVEPERL_MINGW} ) {
 -      $config{LIBS} .= '';
 -    } else {
@@ -32,13 +33,13 @@ Last-Update: 2013-03-02
 -
 -if ($config{LIBS} !~ /\-lm\b/) {
 -    # math support is important, but is not available separately in W32
--    $config{LIBS} .= $is_Win32 ? '' :' -lm';
+-    $config{LIBS} .= $::is_Win32 ? '' :' -lm';
 -}
 -
- if (!have_library($is_Win32 ? "libxslt" : "xslt")) {
+ if (!have_library($::is_Win32 ? "libxslt" : "xslt")) {
      print STDERR <<DEATH;
  libxslt not found
-@@ -172,8 +147,6 @@
+@@ -192,8 +167,6 @@
    $config{DEFINE} .= " -DHAVE_EXSLT"
  }
  

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



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