blob: 43a9c01dd1a28092129e6e82c809dbd7cf148742 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$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' }
);
|