build-system/perl: Don't create non-deterministic 'perllocal.pod' files.

* guix/build/perl-build-system.scm (configure): Add "NO_PERLLOCAL=1"
to Makefile.PL arguments.
master
Marius Bakke 2016-11-23 18:40:53 +01:00
parent bd128e2e8f
commit be12f4e275
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,11 @@
"--installdirs=site" ,@module-build-flags))
((file-exists? "Makefile.PL")
`("Makefile.PL" ,(string-append "PREFIX=" out)
"INSTALLDIRS=site" ,@make-maker-flags))
;; Prevent installation of 'perllocal.pod' files for
;; determinism. These are typically used to build a
;; catalogue of installed packages, but does not provide
;; any useful information when installed with a module.
"INSTALLDIRS=site" "NO_PERLLOCAL=1" ,@make-maker-flags))
(else (error "no Build.PL or Makefile.PL found")))))
(format #t "running `perl' with arguments ~s~%" args)
(zero? (apply system* "perl" args))))