Archived
1
0
Fork 0

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")))) "1d56n2m9inm8gnzm88aa27xl2a7sp7aff3484vmflpqkinjqf0p1"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases (alist-cons-before '(#:phases
'check 'pre-check (modify-phases %standard-phases
(lambda _ (add-before 'check 'pre-check
(substitute* "src/tests/t.frame" (lambda _
(("GREP=/bin/grep") (substitute* "src/tests/t.frame"
(string-append "GREP=" (which "grep") "\n")))) (("GREP=/bin/grep")
%standard-phases))) (string-append "GREP=" (which "grep") "\n")))
#t)))))
(native-inputs `(("flex" ,flex))) (native-inputs `(("flex" ,flex)))
(inputs `(("bdb" ,bdb))) (inputs `(("bdb" ,bdb)))
(home-page "http://bogofilter.sourceforge.net/") (home-page "http://bogofilter.sourceforge.net/")