From fa702e1a2913c665973f9cc43e253168e6505d9e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 30 Mar 2017 10:23:40 +0200 Subject: gnu: discrover: Add missing includes. * gnu/packages/bioinformatics.scm (discrover)[arguments]: Add build phase "add-missing-includes" to include "random" headers. --- gnu/packages/bioinformatics.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 1bba270749..34e6e5f35d 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2133,7 +2133,19 @@ (define-public discrover (base32 "0rah9ja4m0rl5mldd6vag9rwrivw1zrqxssfq8qx64m7961fp68k")))) (build-system cmake-build-system) - (arguments `(#:tests? #f)) ; there are no tests + (arguments + `(#:tests? #f ; there are no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'add-missing-includes + (lambda _ + (substitute* "src/executioninformation.hpp" + (("#define EXECUTIONINFORMATION_HPP" line) + (string-append line "\n#include "))) + (substitute* "src/plasma/fasta.hpp" + (("#define FASTA_HPP" line) + (string-append line "\n#include "))) + #t))))) (inputs `(("boost" ,boost) ("cairo" ,cairo))) -- cgit v1.2.3