diff options
Diffstat (limited to 'databases/rrdtool/patches/patch-ap')
-rw-r--r-- | databases/rrdtool/patches/patch-ap | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/rrdtool/patches/patch-ap b/databases/rrdtool/patches/patch-ap new file mode 100644 index 00000000000..43a9c01dd1a --- /dev/null +++ b/databases/rrdtool/patches/patch-ap @@ -0,0 +1,16 @@ +$NetBSD: patch-ap,v 1.10 2007/11/13 01:58:43 cube Exp $ + +--- bindings/perl-shared/Makefile.PL.orig 2006-07-14 14:11:26.000000000 +0200 ++++ bindings/perl-shared/Makefile.PL +@@ -30,8 +30,10 @@ WriteMakefile( + 'VERSION_FROM' => 'RRDs.pm', # finds $VERSION + 'DEFINE' => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}", + 'INC' => '-I../../src', ++ 'LIBS' => "-lm -lpng -lz -lfreetype", + # Perl will figure out which one is valid +- 'dynamic_lib' => {'OTHERLDFLAGS' => "$librrd -lm"}, ++ 'depend' => {'RRDs.c' => "../../src/librrd.la"}, ++ 'LDFROM' => "\$(OBJECT) $librrd", + 'realclean' => {FILES => 't/demo?.rrd t/demo?.png' } + ); + |