Code

debian/patches: Updated no-rpath-for-perl.
authorSebastian Harl <sh@tokkee.org>
Sat, 20 Dec 2008 13:53:45 +0000 (14:53 +0100)
committerSebastian Harl <sh@tokkee.org>
Sat, 20 Dec 2008 13:59:30 +0000 (14:59 +0100)
The patch now applies to the latest version of rrdtool.

debian/changelog
debian/patches/no-rpath-for-perl

index fa6f600f18a16dfc735ca6f095027e3e560ca14c..2971986fd68feeae2763de42206ffc5bf4947091 100644 (file)
@@ -5,13 +5,14 @@ rrdtool (1.3.5-1) unstable; urgency=low
     - Updated bts428778-floating-point-exception to apply to the latest
       version of rrdtool; use rrd_free2() instead of rrd_free() to not leak
       memory.
+    - Updated no-rpath-for-perl to apply to the latest version of rrdtool.
     - Removed bts493553-pango-utf-8 - included upstream.
     - Removed bts496847-error-handling - included upstream.
     - Removed bts498183-segfault-madvise - included upstream.
     - Removed bts499349-memleaks - included upstream.
     - Removed bts499350-data-corruption - included upstream.
 
- -- Sebastian Harl <sh@tokkee.org>  Sat, 20 Dec 2008 14:43:13 +0100
+ -- Sebastian Harl <sh@tokkee.org>  Sat, 20 Dec 2008 14:53:10 +0100
 
 rrdtool (1.3.1-4) unstable; urgency=high
 
index 98eb989f2d055e34c8eab7899c8714e5d2f35e91..ad53e6343cd953ed44ec8a11c9d494e5c61771ae 100644 (file)
@@ -1,8 +1,7 @@
-Index: pkg-rrdtool/bindings/perl-shared/Makefile.PL
-===================================================================
---- pkg-rrdtool.orig/bindings/perl-shared/Makefile.PL  2008-02-10 15:31:58.000000000 +0100
-+++ pkg-rrdtool/bindings/perl-shared/Makefile.PL       2008-02-10 15:34:16.000000000 +0100
-@@ -3,26 +3,7 @@
+diff a/bindings/perl-shared/Makefile.PL b/bindings/perl-shared/Makefile.PL
+--- a/bindings/perl-shared/Makefile.PL
++++ b/bindings/perl-shared/Makefile.PL
+@@ -3,27 +3,7 @@ use Config;
  # See lib/ExtUtils/MakeMaker.pm for details of how to influence
  # the contents of the Makefile that is written.
  
@@ -17,6 +16,7 @@ Index: pkg-rrdtool/bindings/perl-shared/Makefile.PL
 -              /linux/   && do{ $R = "-Wl,--rpath -Wl,$rp"};
 -              /hpux/    && do{ $R = "+b$rp"};
 -              /solaris/ && do{ $R = "-R$rp"};
+-              /bsd/     && do{ $R = "-R$rp"};
 -                /aix/     && do{ $R = "-Wl,-blibpath:$rp"};
 -      }
 -}
@@ -26,6 +26,6 @@ Index: pkg-rrdtool/bindings/perl-shared/Makefile.PL
 -# library after it is installed. This install_name gets transfered
 -# to the perl shared object.
 -
- my $librrd = "-L../../src/.libs/ $R -lrrd";
- WriteMakefile(
+ my $librrd;
+ if ($^O eq 'darwin'){
+         $librrd = '-lrrd';