summaryrefslogtreecommitdiff
path: root/guix/build-system
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-01-22 23:18:57 -0600
committerEric Bavier <bavier@member.fsf.org>2015-02-18 23:53:46 -0600
commit2d2a53fc24a3feb723772dfc45bb438256de41f9 (patch)
treeb3633f02a3f37bd05a128a51cfd963767d053ba0 /guix/build-system
parent0f3d643b0b47dd065af13ecf7f820458cfb6d9ef (diff)
build-system/perl: Use Build.PL for builds if present.
* guix/build/perl-build-system.scm (configure): Use Build.PL if present. (build, check, install): New procedures. (%standard-phases): Replace build, check, and install phases. * guix/build-system/perl (perl-build): Add make-maker? and module-build-flags arguments. * doc/guix.texi (Build Systems)[perl-build-system]: Document behavior rsp. Build.PL and new arguments.
Diffstat (limited to 'guix/build-system')
-rw-r--r--guix/build-system/perl.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/guix/build-system/perl.scm b/guix/build-system/perl.scm
index c488adb500..e0f86438a8 100644
--- a/guix/build-system/perl.scm
+++ b/guix/build-system/perl.scm
@@ -75,7 +75,9 @@
(tests? #t)
(parallel-build? #t)
(parallel-tests? #t)
+ (make-maker? #f)
(make-maker-flags ''())
+ (module-build-flags ''())
(phases '(@ (guix build perl-build-system)
%standard-phases))
(outputs '("out"))
@@ -101,7 +103,9 @@ provides a `Makefile.PL' file as its build system."
source))
#:search-paths ',(map search-path-specification->sexp
search-paths)
+ #:make-maker? ,make-maker?
#:make-maker-flags ,make-maker-flags
+ #:module-build-flags ,module-build-flags
#:phases ,phases
#:system ,system
#:test-target "test"