X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=d1aeb89d9cd08dc3a33d8629e4da6325f3ba54f0;hb=f4666242dd8d4e14cde6b8d75b3430678c838542;hp=6bbac4ba4ec46235865331bb423d484afa34f960;hpb=79b142355ea8536efc8fbd1443e908136297a8a2;p=sdlgit%2FSDL_perl.git diff --git a/Build.PL b/Build.PL old mode 100755 new mode 100644 index 6bbac4b..d1aeb89 --- a/Build.PL +++ b/Build.PL @@ -139,9 +139,7 @@ my $build = SDL::Build->new( { 'Test::Simple' => '0.47', 'Module::Build' => '0.22', - 'YAML' => '0.68', - 'Alien::SDL' => '>=0.03, !=0.04', - 'ExtUtils::CBuilder' => '0.260301' + 'YAML' => '0.68' }, build_recommends => { @@ -151,11 +149,24 @@ my $build = SDL::Build->new( xs_files => \%xs, meta_add => { + configure_requires => + { + 'Alien::SDL' => '0.06', + 'ExtUtils::CBuilder' => '0.260301' + }, + no_index => { file => [ , , , , ] }, }, dist_author => 'David J. Goehrig ', ); +if($arch eq 'Darwin') +{ + $build->{c_source} = $arch->build_c_source( \%libraries, $build_systems ); + $build->{c_sources} = $arch->build_c_sources( \%libraries, $build_systems ); + $build->{install_base} = $arch->build_install_base( \%libraries, $build_systems ); + +} # and here's where the real (and ugly) magic works... see SDL::Build $build->set_flags(