$NetBSD: patch-ap,v 1.5 2004/02/07 17:44:10 seb Exp $ --- perl-shared/Makefile.PL.in.orig 2002-03-21 21:52:35.000000000 +0000 +++ perl-shared/Makefile.PL.in @@ -10,10 +10,11 @@ WriteMakefile( 'NAME' => 'RRDs', 'VERSION_FROM' => '@top_srcdir@/perl-shared/RRDs.pm', # finds $VERSION 'DEFINE' => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}", - 'INC' => '-I@top_srcdir@/src -I@top_srcdir@/gd1.3', + 'INC' => "-I@top_srcdir@/src", + 'LIBS' => "-lcgi -lm -lgd -lpng -lz -ljpeg -lttf", # where to look for the necessary libraries # Perl will figure out which one is valid - 'depend' => {'RRDs.c' => "../src/.libs/librrd_private.a"}, - 'dynamic_lib' => {'OTHERLDFLAGS' => "$librrd -lm"}, + 'depend' => {'RRDs.c' => "../src/librrd_private.la"}, + 'LDFROM' => "\$(OBJECT) $librrd", 'realclean' => {FILES => 't/demo?.rrd t/demo?.gif' } );