$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' } );