gnu: bogofilter: Use 'modify-phases'.
* gnu/packages/mail.scm (bogofilter)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
329e0a9ca0
commit
c55fa42b2d
@ -305,13 +305,14 @@ Extension (MIME).")
|
||||
"1d56n2m9inm8gnzm88aa27xl2a7sp7aff3484vmflpqkinjqf0p1"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases (alist-cons-before
|
||||
'check 'pre-check
|
||||
(lambda _
|
||||
(substitute* "src/tests/t.frame"
|
||||
(("GREP=/bin/grep")
|
||||
(string-append "GREP=" (which "grep") "\n"))))
|
||||
%standard-phases)))
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(substitute* "src/tests/t.frame"
|
||||
(("GREP=/bin/grep")
|
||||
(string-append "GREP=" (which "grep") "\n")))
|
||||
#t)))))
|
||||
(native-inputs `(("flex" ,flex)))
|
||||
(inputs `(("bdb" ,bdb)))
|
||||
(home-page "http://bogofilter.sourceforge.net/")
|
||||
|
Loading…
Reference in New Issue
Block a user