$NetBSD: patch-ak,v 1.2 2000/05/07 12:50:52 wulf Exp $ --- perl-shared/Makefile.PL.orig Tue May 2 19:36:56 2000 +++ perl-shared/Makefile.PL Sat May 6 00:50:18 2000 @@ -11,10 +11,10 @@ 'VERSION_FROM' => 'RRDs.pm', # finds $VERSION 'OPTIMIZE' => '-g', 'DEFINE' => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}", - 'INC' => '-I../src -I../gd1.3', + 'INC' => '-I../src -I${PREFIX}/include', # 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"}, + 'dynamic_lib' => {'OTHERLDFLAGS' => "$librrd -lm -lgd -lpng -ljpeg -lcgi -lz"}, 'realclean' => {FILES => 't/demo?.rrd t/demo?.gif' } );