gnu: samtools: Remove patch-makefile-curses phase.

* gnu/packages/bioinformatics.scm (samtools)[arguments]: Remove
  patch-makefile-curses phase, use make-flags instead.
This commit is contained in:
Ricardo Wurmus 2015-04-23 15:23:26 +02:00
parent 167a05aabc
commit 0a75450c14
1 changed files with 18 additions and 23 deletions

View File

@ -1068,14 +1068,9 @@ distribution, coverage uniformity, strand specificity, etc.")
;; systems. ;; systems.
#:tests? ,(string=? (or (%current-system) (%current-target-system)) #:tests? ,(string=? (or (%current-system) (%current-target-system))
"x86_64-linux") "x86_64-linux")
#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))) #:make-flags (list "LIBCURSES=-lncurses"
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases #:phases
(alist-cons-after
'unpack
'patch-makefile-curses
(lambda _
(substitute* "Makefile"
(("-lcurses") "-lncurses")))
(alist-cons-after (alist-cons-after
'unpack 'unpack
'patch-tests 'patch-tests
@ -1093,7 +1088,7 @@ distribution, coverage uniformity, strand specificity, etc.")
(string-append "unless ($subcommand eq 'stats') {" cmd "};"))))) (string-append "unless ($subcommand eq 'stats') {" cmd "};")))))
(alist-delete (alist-delete
'configure 'configure
%standard-phases))))) %standard-phases))))
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs `(("pkg-config" ,pkg-config)))
(inputs `(("ncurses" ,ncurses) (inputs `(("ncurses" ,ncurses)
("perl" ,perl) ("perl" ,perl)