Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (fc00f9481635d8c21d83957c32e749d1074ef4b0)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (fc00f9481635d8c21d83957c32e749d1074ef4b0)
  • Date: Wed, 7 Mar 2018 02:42:50 +0000

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

ChangeLog | 4 ++++
FUNCTIONS | 12 ++++++++++++
perl-cpan/FUNCTIONS | 4 ++++
perl-cpan/perl-error/DEPENDS | 3 ++-
perl-cpan/perl-error/HISTORY | 3 +++
5 files changed, 25 insertions(+), 1 deletion(-)

New commits:
commit 873054c668c75a48650ba369a55cea68164f8fe5
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

perl-error: Depends on module-build

commit 50697b746611e5707e830c2a80d6b5a3b30c5931
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

Add default_install_perl to work with make or Build.PL scripts

Override default_install in perl-cpan to use default_install_perl

Fixes perl-error and module-build, for example.

diff --git a/ChangeLog b/ChangeLog
index e618f64..7e17eb7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-03-06 Eric Sandall <sandalle AT sourcemage.org>
+ * FUNCTIONS: Add default_install_perl to work with make or Build.PL
scripts
+ * perl-cpan/FUNCTIONS: Override default_install to use
default_install_perl
+
2018-03-06 Ismael Luceno <ismael AT sourcemage.org>
* audio-drivers/ossp: new spell, OSS Proxy - emulate OSS device
using CUSE
diff --git a/FUNCTIONS b/FUNCTIONS
index b9cd91f..978b8f7 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -495,6 +495,18 @@ function default_build_perl() {
fi
}

+#-------------------------------------------------------------------------
+## Default install for Perl spell.
+#-------------------------------------------------------------------------
+function default_install_perl() {
+ if [ -f Build.PL ]; then
+ perl Build install
+ else
+ make install
+ fi
+}
+
+
#---
## disable_pic
## A function to smartly disable -DPIC and -fPIC flags
diff --git a/perl-cpan/FUNCTIONS b/perl-cpan/FUNCTIONS
index ee673a9..0f272ce 100755
--- a/perl-cpan/FUNCTIONS
+++ b/perl-cpan/FUNCTIONS
@@ -4,3 +4,7 @@
function default_build() {
PERL_MM_USE_DEFAULT=1 PERL_USE_UNSAFE_INC=1 default_build_perl
}
+
+function default_install() {
+ PERL_MM_USE_DEFAULT=1 PERL_USE_UNSAFE_INC=1 default_install_perl
+}
diff --git a/perl-cpan/perl-error/DEPENDS b/perl-cpan/perl-error/DEPENDS
index 6826bc7..4002976 100755
--- a/perl-cpan/perl-error/DEPENDS
+++ b/perl-cpan/perl-error/DEPENDS
@@ -1 +1,2 @@
-depends perl
+depends perl &&
+depends module-build
diff --git a/perl-cpan/perl-error/HISTORY b/perl-cpan/perl-error/HISTORY
index 77dc055..7936459 100644
--- a/perl-cpan/perl-error/HISTORY
+++ b/perl-cpan/perl-error/HISTORY
@@ -1,3 +1,6 @@
+2018-03-06 Eric Sandall <sandalle AT sourcemage.org>
+ * DEPENDS: Depends on module-build
+
2017-05-31 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 0.17024




  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (fc00f9481635d8c21d83957c32e749d1074ef4b0), Eric Sandall, 03/06/2018

Archive powered by MHonArc 2.6.24.

Top of Page