public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-perl/Alien-SDL/files: Alien-SDL-1.444.0-fix-build-option.patch
@ 2015-02-08 14:11 Vladimir Smirnov (civil)
  0 siblings, 0 replies; only message in thread
From: Vladimir Smirnov (civil) @ 2015-02-08 14:11 UTC (permalink / raw
  To: gentoo-commits

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',





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-08 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-08 14:11 [gentoo-commits] gentoo-x86 commit in dev-perl/Alien-SDL/files: Alien-SDL-1.444.0-fix-build-option.patch Vladimir Smirnov (civil)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox