gnu: bogofilter: Use 'modify-phases'.

* gnu/packages/mail.scm (bogofilter)[arguments]: Use 'modify-phases'.
This commit is contained in:
Efraim Flashner 2016-12-20 22:07:35 +02:00
parent 329e0a9ca0
commit c55fa42b2d
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93

View File

@ -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/")