summaryrefslogtreecommitdiffstats
path: root/recipes/perl/files/libxml-libxml-perl-disable-libxml2-check.patch
blob: c8e0218edee073b41317b3ab447e228bd30ef714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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)
+#}
 # -------------------------------------------------------------------------- #
 
 # -------------------------------------------------------------------------- #