summaryrefslogtreecommitdiff
path: root/recipes/perl/files
diff options
context:
space:
mode:
authorMichael Lippautz <michael.lippautz@gmail.com>2010-01-22 00:03:33 +0000
committerPhilip Balister <philip@balister.org>2010-01-22 09:24:50 -0500
commitca64b38e43edd7379ea7a95cda8976f010cd54bf (patch)
treed5d98b583955737399b8b935192ac9284d6e9d4e /recipes/perl/files
parent71edf0fca9bdbb903170e4b20b911cabdaa6ff7d (diff)
libxml-libxml-perl: Adds perl module XML::LibXML
Signed-off-by: Philip Balister <philip@balister.org>
Diffstat (limited to 'recipes/perl/files')
-rw-r--r--recipes/perl/files/libxml-libxml-perl-disable-libxml2-check.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes/perl/files/libxml-libxml-perl-disable-libxml2-check.patch b/recipes/perl/files/libxml-libxml-perl-disable-libxml2-check.patch
new file mode 100644
index 0000000000..c8e0218ede
--- /dev/null
+++ b/recipes/perl/files/libxml-libxml-perl-disable-libxml2-check.patch
@@ -0,0 +1,39 @@
+--- a/Makefile.PL 2010-01-21 15:31:53.000000000 +0100
++++ b/Makefile.PL 2010-01-21 15:32:51.000000000 +0100
+@@ -291,21 +291,21 @@
+
+ # -------------------------------------------------------------------------- #
+ # test if the libraries are really installed!
+-unless (have_library("xml2") or have_library("libxml2")) {
+- print STDERR <<DEATH;
+-libxml2 not found
+-Try setting LIBS and INC values on the command line
+-Or get libxml2 from
+- http://xmlsoft.org/
+-If you install via RPMs, make sure you also install the -devel
+-RPMs, as this is where the headers (.h files) are.
+-
+-Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter
+-to see the exact reason why the detection of libxml2 installation
+-failed or why Makefile.PL was not able to compile a test program.
+-DEATH
+-exit 0; # 0 recommended by http://cpantest.grango.org (Notes for CPAN Authors)
+-}
++#unless (have_library("xml2") or have_library("libxml2")) {
++# print STDERR <<DEATH;
++#libxml2 not found
++#Try setting LIBS and INC values on the command line
++#Or get libxml2 from
++# http://xmlsoft.org/
++#If you install via RPMs, make sure you also install the -devel
++#RPMs, as this is where the headers (.h files) are.
++#
++#Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter
++#to see the exact reason why the detection of libxml2 installation
++#failed or why Makefile.PL was not able to compile a test program.
++#DEATH
++#exit 0; # 0 recommended by http://cpantest.grango.org (Notes for CPAN Authors)
++#}
+ # -------------------------------------------------------------------------- #
+
+ # -------------------------------------------------------------------------- #