diff options
Diffstat (limited to 'textproc/p5-XML-Sablotron/files/patch-Makefile.PL')
-rw-r--r-- | textproc/p5-XML-Sablotron/files/patch-Makefile.PL | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/textproc/p5-XML-Sablotron/files/patch-Makefile.PL b/textproc/p5-XML-Sablotron/files/patch-Makefile.PL index 8aaf1b18fe1e..2d4d06a6f324 100644 --- a/textproc/p5-XML-Sablotron/files/patch-Makefile.PL +++ b/textproc/p5-XML-Sablotron/files/patch-Makefile.PL @@ -1,19 +1,22 @@ ---- Makefile.PL.orig Tue Jan 30 22:55:23 2001 -+++ Makefile.PL Fri Feb 23 10:50:59 2001 -@@ -61,6 +61,7 @@ - $config{LIBS} .= ' -lexpat';
- }
-
-+=item
- have_library('expat', 'main', '') || die <<DEATH;
- You do not appear to have libexpat in the library search path.
- Either install expat from http://expat.sourceforge.net/ or
-@@ -76,7 +77,7 @@ - \$ $^X Makefile.PL LIBS='-L/path/to/sablot/lib -lexpat -lsablot'
-
- DEATH
--
-+=cut
-
- WriteMakefile(
- NAME => 'XML::Sablotron',
+*** Makefile.PL.orig Sun Apr 29 14:54:12 2001 +--- Makefile.PL Sun Apr 29 14:55:07 2001 +*************** +*** 45,50 **** +--- 45,51 ---- + + my $DEBUG = delete $config{DEBUG}; + ++ =item + if (delete $config{CHARLIE}) { + $config{LIBS} = "-L$ENV{CHARLIE_HOME}/lib -lsablot -lexpat"; + $config{INC} = '-I$(CHARLIE_HOME)/include'; +*************** +*** 96,101 **** +--- 97,103 ---- + \$ $^X Makefile.PL LIBS='-L/path/to/sablot/lib -lexpat -lsablot' + + DEATH ++ =cut + + WriteMakefile( + NAME => 'XML::Sablotron', |