pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-Catalyst-Runtime Fix build when CPAN.pm is not ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5e4c7aaf946
branches:  trunk
changeset: 392756:e5e4c7aaf946
user:      seb <seb%pkgsrc.org@localhost>
date:      Fri May 08 17:56:04 2009 +0000

description:
Fix build when CPAN.pm is not configured (no CPAN/Config.pm in @INC
pathd or as ~/.cpan/CPAN/MyConfig.pm) as in such a situation it runs
an interactive setup process!

The fix is to _not_ call Module::Install::auto_install() in Makefile.PL
as pkgsrc handles the required modules anyway.

diffstat:

 www/p5-Catalyst-Runtime/distinfo         |   3 ++-
 www/p5-Catalyst-Runtime/patches/patch-aa |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r b5a2b96330aa -r e5e4c7aaf946 www/p5-Catalyst-Runtime/distinfo
--- a/www/p5-Catalyst-Runtime/distinfo  Fri May 08 15:24:12 2009 +0000
+++ b/www/p5-Catalyst-Runtime/distinfo  Fri May 08 17:56:04 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2009/04/30 07:14:27 sno Exp $
+$NetBSD: distinfo,v 1.5 2009/05/08 17:56:04 seb Exp $
 
 SHA1 (Catalyst-Runtime-5.80003.tar.gz) = d54822fb95020a697afd6de5d41c69b9d04d7bba
 RMD160 (Catalyst-Runtime-5.80003.tar.gz) = 739698262a3bd6d7039145b5142309f09ae0bf83
 Size (Catalyst-Runtime-5.80003.tar.gz) = 204401 bytes
+SHA1 (patch-aa) = 0cca00f0ee03192f936df44ec584a407071e3410
diff -r b5a2b96330aa -r e5e4c7aaf946 www/p5-Catalyst-Runtime/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-Catalyst-Runtime/patches/patch-aa  Fri May 08 17:56:04 2009 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2009/05/08 17:56:04 seb Exp $
+
+Prevent CPAN.pm to run an interactive setup process if it is
+unconfigured: don't call Module::Install::auto_install()
+
+--- Makefile.PL.orig   2009-04-29 14:27:41.000000000 +0000
++++ Makefile.PL
+@@ -65,7 +65,7 @@ if ($Module::Install::AUTHOR) {
+ }
+ 
+ install_script glob('script/*.pl');
+-auto_install;
++#auto_install;
+ WriteAll;
+ 
+ if ($Module::Install::AUTHOR) {



Home | Main Index | Thread Index | Old Index