Subject: | [PATCH] non-UNIX platform compatibility |
Hi,
could you please consider the enclosed simple patch that makes your
module installable also on non UNIX systems.
Thanks.
--
kmx
Subject: | HTML-Tidy-1.08_patch.diff |
--- HTML-Tidy-1.08.orig/Makefile.PL 2006-11-11 04:06:24.000000000 +0100
+++ HTML-Tidy-1.08/Makefile.PL 2009-10-02 12:35:26.480347400 +0200
@@ -7,6 +7,7 @@
use warnings;
use ExtUtils::MakeMaker;
use ExtUtils::Liblist;
+use Config;
my @vars = ExtUtils::Liblist->ext( '-L/sw/lib -ltidy', 0, 1 );
my $libs = $vars[2];
@@ -55,7 +56,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/tidy -I/usr/local/include/tidy -I/sw/include/tidy -I$Config{usrinc}/tidy",
EXE_FILES => [qw(bin/webtidy)],
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },