18 lines
1004 B
Plaintext
18 lines
1004 B
Plaintext
$OpenBSD: patch-perl-shared_Makefile_PL_in,v 1.2 2004/06/08 20:21:24 danh Exp $
|
|
--- perl-shared/Makefile.PL.in.orig 2004-04-03 09:33:13.000000000 -0500
|
|
+++ perl-shared/Makefile.PL.in 2004-06-08 15:50:32.000000000 -0400
|
|
@@ -10,11 +10,11 @@ WriteMakefile(
|
|
'NAME' => 'RRDs',
|
|
'VERSION_FROM' => '@top_srcdir@/perl-shared/RRDs.pm', # finds $VERSION
|
|
'DEFINE' => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}",
|
|
- 'INC' => '-I@top_srcdir@ -I@top_srcdir@/src -I@top_srcdir@/gd1.3',
|
|
+ 'INC' => '-I@top_srcdir@ -I@top_srcdir@/src -I$(LOCALBASE)/include',
|
|
'CCFLAGS' => '-DHAVE_CONFIG_H',
|
|
# where to look for the necessary libraries
|
|
# Perl will figure out which one is valid
|
|
'depend' => {'RRDs.c' => "@top_srcdir@/src/.libs/librrd_private.a"},
|
|
- 'dynamic_lib' => {'OTHERLDFLAGS' => "$librrd -lm"},
|
|
+ 'dynamic_lib' => {'OTHERLDFLAGS' => "$librrd -lgd -ljpeg -lttf -lz -lm"},
|
|
'realclean' => {FILES => 't/demo?.rrd t/demo?.gif' }
|
|
);
|