Index: Regexp-Keep-0.02/Keep.xs
--- Regexp-Keep-0.02/Keep.xs.orig	2004-05-07 19:23:36 +0200
+++ Regexp-Keep-0.02/Keep.xs	2008-12-28 10:19:14 +0100
@@ -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 +0100
+++ re-engine-Lua-0.06/Makefile.PL	2008-12-28 10:22:23 +0100
@@ -8,7 +8,5 @@
     ABSTRACT_FROM => 'Lua.pm',
     LICENSE       => 'MIT',
     PREREQ_PM     => {
-            'Test::Exception'   => 0,
-            'Test::Warn'        => 0,
     },
 );
Index: re-engine-PCRE-0.15/Makefile.PL
--- re-engine-PCRE-0.15/Makefile.PL.orig	2007-12-19 00:38:26 +0100
+++ re-engine-PCRE-0.15/Makefile.PL	2008-12-28 10:19:14 +0100
@@ -7,5 +7,6 @@
     VERSION_FROM  => 'PCRE.pm',
     ABSTRACT_FROM => 'PCRE.pm',
     LICENSE       => 'perl',
-    LIBS          => [ '-lpcre' ],
+    INC           => `pcre-config --cflags`,
+    LIBS          => [ `pcre-config --libs` ],
 );
Index: re-engine-TRE-0.04/Makefile.PL
--- re-engine-TRE-0.04/Makefile.PL.orig	2008-02-18 12:11:31 +0100
+++ re-engine-TRE-0.04/Makefile.PL	2008-12-28 10:19:14 +0100
@@ -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` ]
 );
