[Bps-public-commit] Shipwright branch, master, updated. 8f78f1f3f1615178ca793ebd9a91bad6a158319b

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Oct 25 20:43:19 EDT 2009


The branch, master has been updated
       via  8f78f1f3f1615178ca793ebd9a91bad6a158319b (commit)
      from  0b96adb3e805986c4ac12934cb7c3a760f9df428 (commit)

Summary of changes:
 lib/Shipwright/Source/Base.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 8f78f1f3f1615178ca793ebd9a91bad6a158319b
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Oct 26 08:28:41 2009 +0800

    handle configure_requires in M::I based Makefile.PL

diff --git a/lib/Shipwright/Source/Base.pm b/lib/Shipwright/Source/Base.pm
index 10f3603..5d4948e 100644
--- a/lib/Shipwright/Source/Base.pm
+++ b/lib/Shipwright/Source/Base.pm
@@ -180,7 +180,7 @@ sub _follow {
 
                 $makefile =~ s/^\s*requires(?!\w)/shipwright_requires/mg;
                 $makefile =~
-                  s/^\s*build_requires(?!\w)/shipwright_build_requires/mg;
+s/^\s*(?:build|configure)_requires(?!\w)/shipwright_build_requires/mg;
                 $makefile =~
                   s/^\s*test_requires(?!\w)/shipwright_test_requires/mg;
                 $makefile =~ s/^\s*recommends(?!\w)/shipwright_recommends/mg;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list