gnu: gpsbabel: Use 'modify-phases'.

* gnu/packages/gps.scm (gpsbabel)[arguments]: Use 'modify-phases'.
This commit is contained in:
Efraim Flashner 2016-02-16 12:13:01 +02:00
parent 6f1c3b806a
commit c5a6e33b56

View file

@ -49,12 +49,12 @@ (define-public gpsbabel
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags '("--with-zlib=system") `(#:configure-flags '("--with-zlib=system")
#:phases (alist-cons-before #:phases
'configure 'pre-configure (modify-phases %standard-phases
(lambda _ (add-before 'configure 'pre-configure
(chdir "gpsbabel")) (lambda _
;; TODO: "make doc" requires Docbook & co. (chdir "gpsbabel"))))
%standard-phases) ;; TODO: "make doc" requires Docbook & co.
;; On i686, 'raymarine.test' fails because of a rounding error: ;; On i686, 'raymarine.test' fails because of a rounding error:
;; <http://hydra.gnu.org/build/133040>. As a workaround, disable tests ;; <http://hydra.gnu.org/build/133040>. As a workaround, disable tests