--- HTML-Tidy-1.50/Makefile.PL 2010-02-16 17:40:14.000000000 +0000
+++ HTML-Tidy-1.50/Makefile.PL 2010-02-22 12:15:59.700420320 +0000
@@ -8,22 +8,22 @@
use ExtUtils::MakeMaker;
use ExtUtils::Liblist;
-my @vars = ExtUtils::Liblist->ext( '-ltidy', 0, 1 );
+my @vars = ExtUtils::Liblist->ext( '-ltidyp', 0, 1 );
my $libs = $vars[2];
if ( !$libs ) {
- $libs = '-ltidy';
+ $libs = '-ltidyp';
print <<'EOF';
-It seems that you don't have libtidy installed. HTML::Tidy does no
-real work on its own. It's just a wrapper aound libtidy.
+It seems that you don't have libtidyp installed. HTML::Tidy does no
+real work on its own. It's just a wrapper aound libtidyp.
-HTML::Tidy is only tested to work with libtidy hosted at
-
http://github.com/petdance/libtidy. This is mostly the same as the one
+HTML::Tidy is only tested to work with libtidyp hosted at
+
http://github.com/petdance/libtidyp. This is mostly the same as the one
at
http://tidy.sourceforge.net/, with some changes, such as adding a
version number so that we can tell what version we're working with.
-If you do have libtidy installed, and I just haven't detected it,
+If you do have libtidyp installed, and I just haven't detected it,
go ahead and try building. If HTML::Tidy builds and tests correctly,
then please let Andy Lester know at andy@petdance.com so that he can
fix the library detection code.
@@ -58,7 +58,7 @@
LIBS => [$libs],
NEEDS_LINKING => 1,
- INC => '-I. -I/usr/include/tidy -I/usr/local/include/tidy -I/sw/include/tidy',
+ INC => '-I. -I/usr/include/tidyp -I/usr/local/include/tidyp -I/sw/include/tidyp',
EXE_FILES => [qw(bin/webtidy)],
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
--- HTML-Tidy-1.50/Tidy.xs 2010-02-16 17:43:56.000000000 +0000
+++ HTML-Tidy-1.50/Tidy.xs 2010-02-22 12:16:34.076535824 +0000
@@ -2,7 +2,7 @@
#include "perl.h"
#include "XSUB.h"
-#include <tidy.h>
+#include <tidyp.h>
#include <buffio.h>
#include <stdio.h>
#include <errno.h>