r27420 - in /trunk/libxml-libxml-perl/debian: patches/no_linking_wit_libm.patch patches/series rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Nov 29 06:53:05 UTC 2008


Author: dmn
Date: Sat Nov 29 06:53:00 2008
New Revision: 27420

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27420
Log:
add no_linking_wit_libm.patch avoiding spurious linking to libm

Added:
    trunk/libxml-libxml-perl/debian/patches/no_linking_wit_libm.patch
Modified:
    trunk/libxml-libxml-perl/debian/patches/series
    trunk/libxml-libxml-perl/debian/rules

Added: trunk/libxml-libxml-perl/debian/patches/no_linking_wit_libm.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/debian/patches/no_linking_wit_libm.patch?rev=27420&op=file
==============================================================================
--- trunk/libxml-libxml-perl/debian/patches/no_linking_wit_libm.patch (added)
+++ trunk/libxml-libxml-perl/debian/patches/no_linking_wit_libm.patch Sat Nov 29 06:53:00 2008
@@ -1,0 +1,14 @@
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -254,11 +254,6 @@ if ($config{LIBS} !~ /\-lz\b/) {
+     }
+     $config{LIBS} .= $is_Win32 ? ' -lzlib' :'';
+ }
+-
+-if ($config{LIBS} !~ /\-lm\b/) {
+-    # math support is important, but is not available separately in W32
+-    $config{LIBS} .= $is_Win32 ? '' :' -lm';
+-}
+ # -------------------------------------------------------------------------- #
+ 
+ # -------------------------------------------------------------------------- #

Modified: trunk/libxml-libxml-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/debian/patches/series?rev=27420&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/debian/patches/series (original)
+++ trunk/libxml-libxml-perl/debian/patches/series Sat Nov 29 06:53:00 2008
@@ -1,1 +1,2 @@
 fix_manpage_typos
+no_linking_wit_libm.patch

Modified: trunk/libxml-libxml-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/debian/rules?rev=27420&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/debian/rules (original)
+++ trunk/libxml-libxml-perl/debian/rules Sat Nov 29 06:53:00 2008
@@ -11,6 +11,9 @@
 	touch $@
 
 clean: unpatch
+	# unpacked Makefile.PL has a newer timestamp than Makefile
+	# avoid rebuilding Makefile by touching it
+	if [ -e Makefile ]; then touch Makefile; fi
 	dh $@
 
 install: install-stamp




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