summaryrefslogtreecommitdiff
path: root/databases/rrdtool/patches/patch-ak
blob: d8229c04cb0922f66c8a31a46247fa62ebf3a70c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$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' }
 );