index 98eb989f2d055e34c8eab7899c8714e5d2f35e91..ad53e6343cd953ed44ec8a11c9d494e5c61771ae 100644 (file)
-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.
- /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"};
- }
-}
-# 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';