/[gentoo-x86]/dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-fix-build-option.patch
Gentoo

Contents of /dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-fix-build-option.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Sun Feb 8 14:11:03 2015 UTC (5 years, 1 month ago) by civil
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Add patch from debian to fix package's build system

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0xC47990C2)

1 civil 1.1 Description: fix build option handling
2     GetOptions handles all command arguments without
3     letting Module::Build handles the options. One
4     should not use GetOptions with Module::Build options setup.
5     .
6     So I noved travis option spec into Module::Build
7     Author: dod
8     --- a/Build.PL
9     +++ b/Build.PL
10     @@ -7,9 +7,7 @@
11     use My::Utility qw(check_config_script check_prebuilt_binaries check_prereqs_libs check_prereqs_tools $source_packs
12     check_perl_buildlibs);
13    
14     -use Getopt::Long;
15     my ( $ans, $travis ) = 0;
16     -GetOptions( "travis" => \$travis );
17    
18     print "Welcome to Alien::SDL module installation\n";
19     print "-----------------------------------------\n";
20     @@ -98,7 +96,10 @@
21     repository => 'http://github.com/PerlGameDev/Alien-SDL'
22     }
23     },
24     - get_options => { 'with-sdl-config' => { qw(type :s store) => \$sdl_config } },
25     + get_options => {
26     + 'with-sdl-config' => { qw(type :s store) => \$sdl_config },
27     + 'travis' => { store => \$travis },
28     + },
29     dynamic_config => 1,
30     create_readme => 1,
31     share_dir => 'sharedir',

  ViewVC Help
Powered by ViewVC 1.1.20