Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/GAL/, sci-biology/GAL/files/
Date: Sat, 02 Jan 2016 11:11:28
Message-Id: 1451733088.6948b58df6416c3938ccbb7fb2657cc515cc7c50.dilfridge@gentoo
1 commit: 6948b58df6416c3938ccbb7fb2657cc515cc7c50
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 11:11:28 2016 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 11:11:28 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6948b58d
7
8 Force systemwide installation by removing all the manual build fiddling
9
10 Package-Manager: portage-2.2.26
11
12 sci-biology/GAL/ChangeLog | 3 +++
13 sci-biology/GAL/files/Build.PL.patch | 38 +++++++++++++++++++++++++++---------
14 2 files changed, 32 insertions(+), 9 deletions(-)
15
16 diff --git a/sci-biology/GAL/ChangeLog b/sci-biology/GAL/ChangeLog
17 index d65ee90..7ad355f 100644
18 --- a/sci-biology/GAL/ChangeLog
19 +++ b/sci-biology/GAL/ChangeLog
20 @@ -2,6 +2,9 @@
21 # Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
22 # $Id$
23
24 + 02 Jan 2016; Andreas K. Huettel <dilfridge@g.o> files/Build.PL.patch:
25 + Force systemwide installation by removing all the manual build fiddling
26 +
27 02 Jan 2016; Martin Mokrejs <mmokrejs@×××××××××××××××.cz> GAL-0.2.2.ebuild:
28 sci-biology/GAL: add another perl DEPENDency
29
30
31 diff --git a/sci-biology/GAL/files/Build.PL.patch b/sci-biology/GAL/files/Build.PL.patch
32 index 31b6c73..6d881f2 100644
33 --- a/sci-biology/GAL/files/Build.PL.patch
34 +++ b/sci-biology/GAL/files/Build.PL.patch
35 @@ -1,10 +1,30 @@
36 ---- GAL_0.2.2/Build.PL.ori 2016-01-01 00:46:26.000000000 +0100
37 -+++ GAL_0.2.2/Build.PL 2016-01-01 00:50:21.000000000 +0100
38 -@@ -10,7 +10,6 @@
39 - sub ACTION_build {
40 - my $self = shift;
41 - $self->SUPER::ACTION_build;
42 +diff -ruN GAL_0.2.2.orig/Build.PL GAL_0.2.2/Build.PL
43 +--- GAL_0.2.2.orig/Build.PL 2014-01-30 01:35:11.000000000 +0100
44 ++++ GAL_0.2.2/Build.PL 2016-01-02 12:09:16.212623256 +0100
45 +@@ -6,26 +6,6 @@
46 + my $class = Module::Build->subclass
47 + (
48 + class => 'Module::Build::Custom',
49 +- code => q{
50 +- sub ACTION_build {
51 +- my $self = shift;
52 +- $self->SUPER::ACTION_build;
53 - $self->dispatch('installdeps');
54 - }
55 - sub ACTION_install {
56 - my $self = shift;
57 +- }
58 +- sub ACTION_install {
59 +- my $self = shift;
60 +- print "\n\nGAL does not do a system wide install\n\n";
61 +- print "To make the libraries and scripts accessible\n";
62 +- print "modify the paths to fit your system and run the following:\n\n";
63 +- print "export PERL5LIB=\$PERL5LIB:/path/to/GAL/lib\n";
64 +- print "export PATH=\$PATH:/path/to/GAL/bin\n\n";
65 +- print "Add those lines to ~/.bash_profile or /etc/profile to\n";
66 +- print "make those changes permanent.\n\n";
67 +- print "If you want a system wide install, edit the Build.PL script and\n";
68 +- print "remove the entire subroutine (ACTION_install) where this message\n";
69 +- print "is printed run Build realclean and re-install.\n\n";
70 +- }
71 +- },
72 + );
73 +
74 + my $builder = $class->new(