Changeset 615
- Timestamp:
- 01/07/05 13:27:56 (4 years ago)
- Files:
-
- 1 modified
-
trunk/Build.PL (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Build.PL
r614 r615 70 70 71 71 my $install_directory; # used to suggest template paths 72 my $use_plucene; # keep track of this so we know what to put in prereqs 72 73 foreach my $var ( qw( 73 74 dbname dbuser dbpass dbhost script_name … … 128 129 $install_directory = $val if $var eq "install_directory"; 129 130 131 # Keep track of chosen search method so we know what to put in prereqs. 132 # From Module::Build docs: ->y_n returns a Perl boolean true or false. 133 $use_plucene = 1 if $var eq "use_plucene" and $val; 134 130 135 # Make sure that script_url ends in a / 131 136 if ( $var eq "script_url" and $val !~ /\/$/ ) { … … 199 204 ##### When updating the prereqs PLEASE REMEMBER to update PREREQUISITES. 200 205 ##### 206 207 my $search_module = $use_plucene ? "Plucene" : "Search::InvertedIndex"; 201 208 202 209 # Create the build object. … … 226 233 'LWP::Simple' => 0, 227 234 'Parse::RecDescent' => 0, 228 'Search::InvertedIndex'=> 0,235 $search_module => 0, 229 236 'Template' => 0, 230 237 'Test::MockObject' => '0.07', # earlier doesn't use 'mock'
