[Bioperl-guts-l] bioperl-live Makefile.PL,1.110,1.111
Senduran Balasubramaniam
sendu at dev.open-bio.org
Mon Oct 23 08:29:26 EDT 2006
Update of /home/repository/bioperl/bioperl-live
In directory dev.open-bio.org:/tmp/cvs-serv4463
Modified Files:
Makefile.PL
Log Message:
exclusion system to avoid circular dependencies
Index: Makefile.PL
===================================================================
RCS file: /home/repository/bioperl/bioperl-live/Makefile.PL,v
retrieving revision 1.110
retrieving revision 1.111
diff -C2 -d -r1.110 -r1.111
*** Makefile.PL 23 Oct 2006 08:56:34 -0000 1.110
--- Makefile.PL 23 Oct 2006 12:29:24 -0000 1.111
***************
*** 5,9 ****
#
! # Start with object preamble and setup
#
--- 5,10 ----
#
! # Start with object preamble and setup of variables that might need changing
! # in the future
#
***************
*** 54,57 ****
--- 55,66 ----
);
+ # We don't want CPAN, Bundle::BioPerl et al. to know about these for various
+ # reasons (eg. because they would cause a circular dependency), so will exclude
+ # them from PREREQ_PM later on
+ my %exclude_from_prereqs = (
+ 'Bio::ASN1::EntrezGene' => 'it would cause a circular dependency'
+ );
+
+
#
# Main code
***************
*** 97,101 ****
$error = 1;
}
! $prereq{$name} = $ver;
}
if ($error == 1) {
--- 106,116 ----
$error = 1;
}
!
! unless (exists $exclude_from_prereqs{$name}) {
! $prereq{$name} = $ver;
! }
! else {
! print "External Module '$name' will not be considered a pre-requisite\n(and therefore will not be automatically installed) because:\n $exclude_from_prereqs{$name}.\n\n";
! }
}
if ($error == 1) {
***************
*** 354,357 ****
--- 369,373 ----
}
+
#
# override MakeMaker methods
More information about the Bioperl-guts-l
mailing list