summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-LibRSVG/files/patch-Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-XML-LibRSVG/files/patch-Makefile.PL')
-rw-r--r--textproc/p5-XML-LibRSVG/files/patch-Makefile.PL18
1 files changed, 18 insertions, 0 deletions
diff --git a/textproc/p5-XML-LibRSVG/files/patch-Makefile.PL b/textproc/p5-XML-LibRSVG/files/patch-Makefile.PL
new file mode 100644
index 000000000000..4da5696784f8
--- /dev/null
+++ b/textproc/p5-XML-LibRSVG/files/patch-Makefile.PL
@@ -0,0 +1,18 @@
+--- Makefile.PL.orig Wed Oct 31 02:03:02 2001
++++ Makefile.PL Tue Nov 20 22:26:34 2001
+@@ -4,11 +4,11 @@
+
+ my %config;
+
+-$config{INC} = '';
+-$config{LIBS} = '-lpng';
++$config{INC} = $ENV{INC};
++$config{LIBS} = $ENV{LIBS}.' -lpng';
+
+-chomp($config{INC} .= ' ' . `gtk-config --cflags`);
+-chomp($config{LIBS} .= ' ' .`gtk-config --libs`);
++chomp($config{INC} .= ' ' . `gtk12-config --cflags`);
++chomp($config{LIBS} .= ' ' .`gtk12-config --libs`);
+
+ chomp($config{INC} .= ' ' . `gdk-pixbuf-config --cflags`);
+ chomp($config{LIBS} .= ' ' . `gdk-pixbuf-config --libs`);