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:
parent
167a05aabc
commit
0a75450c14
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue