civil       15/02/08 14:11:03

  Added:                Alien-SDL-1.444.0-fix-build-option.patch
  Log:
  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)

Revision  Changes    Path
1.1                  
dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-fix-build-option.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-fix-build-option.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Alien-SDL/files/Alien-SDL-1.444.0-fix-build-option.patch?rev=1.1&content-type=text/plain

Index: Alien-SDL-1.444.0-fix-build-option.patch
===================================================================
Description: fix build option handling
 GetOptions handles all command arguments without
 letting Module::Build handles the options. One
 should not use GetOptions with Module::Build options setup.
 .
 So I noved travis option spec into Module::Build
Author: dod
--- a/Build.PL
+++ b/Build.PL
@@ -7,9 +7,7 @@
 use My::Utility qw(check_config_script check_prebuilt_binaries 
check_prereqs_libs check_prereqs_tools $source_packs
                    check_perl_buildlibs);
 
-use Getopt::Long;
 my ( $ans, $travis ) = 0;
-GetOptions( "travis" => \$travis );
 
 print "Welcome to Alien::SDL module installation\n";
 print "-----------------------------------------\n";
@@ -98,7 +96,10 @@
       repository => 'http://github.com/PerlGameDev/Alien-SDL'
     }
   },
-  get_options => { 'with-sdl-config' => { qw(type :s  store) => \$sdl_config } 
},
+  get_options => { 
+      'with-sdl-config' => { qw(type :s  store) => \$sdl_config },
+      'travis'          => { store => \$travis },
+  },
   dynamic_config => 1,
   create_readme => 1,
   share_dir => 'sharedir',




Reply via email to