gnu: swish-e: Work around compilation error and test failures.

* gnu/packages/search.scm (swish-e)[inputs]: Remove ZLIB and LIBXML2.
[arguments]: Add #:configure-flags.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Ethan R. Jones 2017-05-14 13:01:53 -04:00 committed by Ludovic Courtès
parent 75f23951ad
commit 7bd65a6304
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 4 deletions

View File

@ -264,15 +264,17 @@ conflict with slocate compatibility.")
;; building: xpdf, catdoc, MP3::Tag, Spreadsheet::ParseExcel,
;; HTML::Entities.
(inputs
`(("libxml" ,libxml2)
("zlib" ,zlib)
("perl" ,perl)
`(("perl" ,perl)
("perl-uri" ,perl-uri)
("perl-html-parser" ,perl-html-parser)
("perl-html-tagset" ,perl-html-tagset)
("perl-mime-types" ,perl-mime-types)))
(arguments
`(#:phases (modify-phases %standard-phases
`(;; XXX: This fails to build with zlib (API mismatch) and tests fail
;; with libxml2, so disable both.
#:configure-flags (list (string-append "--without-zlib")
(string-append "--without-libxml2"))
#:phases (modify-phases %standard-phases
(add-after 'install 'wrap-programs
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")))