Index: Regexp-Compare-0.10/engine.c --- Regexp-Compare-0.10/engine.c.orig 2009-09-02 18:01:07.000000000 +0200 +++ Regexp-Compare-0.10/engine.c 2010-04-15 12:04:44.000000000 +0200 @@ -9,7 +9,7 @@ #error This module is only for Perl 5 #else #if PERL_API_VERSION != 8 -#if PERL_API_VERSION == 10 +#if PERL_API_VERSION >= 10 #define RC_PLUGGABLE_REGEXP_ENGINE #else #error Unsupported PERL_API_VERSION Index: Regexp-Keep-0.02/Keep.xs --- Regexp-Keep-0.02/Keep.xs.orig 2004-05-07 19:23:36.000000000 +0200 +++ Regexp-Keep-0.02/Keep.xs 2010-04-15 12:04:44.000000000 +0200 @@ -11,4 +11,4 @@ KEEP() PROTOTYPE: CODE: - PL_regstartp[0] = PL_reginput - PL_bostr; + PL_reg_state.re_state_regoffs[0].start = PL_reginput - PL_bostr; Index: re-engine-Lua-0.06/Makefile.PL --- re-engine-Lua-0.06/Makefile.PL.orig 2008-12-07 12:29:50.000000000 +0100 +++ re-engine-Lua-0.06/Makefile.PL 2010-04-15 12:04:44.000000000 +0200 @@ -8,7 +8,5 @@ ABSTRACT_FROM => 'Lua.pm', LICENSE => 'MIT', PREREQ_PM => { - 'Test::Exception' => 0, - 'Test::Warn' => 0, }, ); Index: re-engine-PCRE-0.16/Makefile.PL --- re-engine-PCRE-0.16/Makefile.PL.orig 2010-04-09 16:56:11.000000000 +0200 +++ re-engine-PCRE-0.16/Makefile.PL 2010-04-15 12:04:44.000000000 +0200 @@ -18,9 +18,8 @@ }, 'DISTNAME' => 're-engine-PCRE', 'EXE_FILES' => [], - 'LIBS' => [ - '-lpcre' - ], + 'INC' => `pcre-config --cflags`, + 'LIBS' => [ `pcre-config --libs` ], 'LICENSE' => 'perl', 'NAME' => 're::engine::PCRE', 'PREREQ_PM' => { Index: re-engine-TRE-0.04/Makefile.PL --- re-engine-TRE-0.04/Makefile.PL.orig 2008-02-18 12:11:31.000000000 +0100 +++ re-engine-TRE-0.04/Makefile.PL 2010-04-15 12:04:44.000000000 +0200 @@ -8,6 +8,6 @@ ABSTRACT_FROM => 'TRE.pm', LICENSE => 'perl', DIR => [ 'tre' ], - INC => '-Itre', - LDDLFLAGS => '-shared tre/*.o', + INC => `pkg-config tre --cflags`, + LDDLFLAGS => [ `pkg-config tre --libs` ] );