commit:     6948b58df6416c3938ccbb7fb2657cc515cc7c50
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 11:11:28 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 11:11:28 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6948b58d

Force systemwide installation by removing all the manual build fiddling

Package-Manager: portage-2.2.26

 sci-biology/GAL/ChangeLog            |  3 +++
 sci-biology/GAL/files/Build.PL.patch | 38 +++++++++++++++++++++++++++---------
 2 files changed, 32 insertions(+), 9 deletions(-)

diff --git a/sci-biology/GAL/ChangeLog b/sci-biology/GAL/ChangeLog
index d65ee90..7ad355f 100644
--- a/sci-biology/GAL/ChangeLog
+++ b/sci-biology/GAL/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+  02 Jan 2016; Andreas K. Huettel <[email protected]> files/Build.PL.patch:
+  Force systemwide installation by removing all the manual build fiddling
+
   02 Jan 2016; Martin Mokrejs <[email protected]> GAL-0.2.2.ebuild:
   sci-biology/GAL: add another perl DEPENDency
 

diff --git a/sci-biology/GAL/files/Build.PL.patch 
b/sci-biology/GAL/files/Build.PL.patch
index 31b6c73..6d881f2 100644
--- a/sci-biology/GAL/files/Build.PL.patch
+++ b/sci-biology/GAL/files/Build.PL.patch
@@ -1,10 +1,30 @@
---- GAL_0.2.2/Build.PL.ori     2016-01-01 00:46:26.000000000 +0100
-+++ GAL_0.2.2/Build.PL 2016-01-01 00:50:21.000000000 +0100
-@@ -10,7 +10,6 @@
-        sub ACTION_build {
-        my $self = shift;
-        $self->SUPER::ACTION_build;
+diff -ruN GAL_0.2.2.orig/Build.PL GAL_0.2.2/Build.PL
+--- GAL_0.2.2.orig/Build.PL    2014-01-30 01:35:11.000000000 +0100
++++ GAL_0.2.2/Build.PL 2016-01-02 12:09:16.212623256 +0100
+@@ -6,26 +6,6 @@
+ my $class = Module::Build->subclass
+   (
+    class => 'Module::Build::Custom',
+-   code => q{
+-       sub ACTION_build {
+-       my $self = shift;
+-       $self->SUPER::ACTION_build;
 -       $self->dispatch('installdeps');
-        }
-        sub ACTION_install {
-          my $self = shift;
+-       }
+-       sub ACTION_install {
+-         my $self = shift;
+-         print "\n\nGAL does not do a system wide install\n\n";
+-         print "To make the libraries and scripts accessible\n";
+-         print "modify the paths to fit your system and run the 
following:\n\n";
+-         print "export PERL5LIB=\$PERL5LIB:/path/to/GAL/lib\n";
+-         print "export PATH=\$PATH:/path/to/GAL/bin\n\n";
+-         print "Add those lines to ~/.bash_profile or /etc/profile to\n";
+-         print "make those changes permanent.\n\n";
+-         print "If you want a system wide install, edit the Build.PL script 
and\n";
+-         print "remove the entire subroutine (ACTION_install) where this 
message\n";
+-         print "is printed run Build realclean and re-install.\n\n";
+-       }
+-     },
+   );
+ 
+ my $builder = $class->new(

Reply via email to