summaryrefslogtreecommitdiff
path: root/recipes/rrdtool/perl-make-options.diff
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/rrdtool/perl-make-options.diff')
-rw-r--r--recipes/rrdtool/perl-make-options.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/rrdtool/perl-make-options.diff b/recipes/rrdtool/perl-make-options.diff
new file mode 100644
index 0000000000..5da332f709
--- /dev/null
+++ b/recipes/rrdtool/perl-make-options.diff
@@ -0,0 +1,12 @@
+--- perl-shared/Makefile.PL.in.o 2004-10-27 14:55:36.413765216 +0200
++++ perl-shared/Makefile.PL.in 2004-10-27 14:56:50.447510376 +0200
+@@ -12,6 +12,9 @@
+ 'DEFINE' => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}",
+ 'INC' => '-I@top_srcdir@ -I@top_srcdir@/src -I@top_srcdir@/gd1.3',
+ 'CCFLAGS' => "$Config{ccflags} -DHAVE_CONFIG_H",
++ 'CC' => '@CC@',
++ 'LD' => '@CC@',
++ 'LDFROM' => '@LDFLAGS@',
+ # 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"},