gnu: bless: Remove reference to %build-inputs.

* gnu/packages/bioinformatics.scm (bless)[arguments]: Replace reference to
%build-inputs with a gexp.  Use the dynamic library of zlib while we're at it.
[inputs]: Remove zlib:static.
This commit is contained in:
Ricardo Wurmus 2021-12-03 23:51:16 +01:00
parent dd19c8da88
commit f5c38ee45f
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1917,17 +1917,17 @@ (define-public bless
(delete-file-recursively ".git")))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ;no "check" target
`(#:tests? #f ;no "check" target
#:make-flags
(list (string-append "ZLIB="
(assoc-ref %build-inputs "zlib:static")
"/lib/libz.a")
(string-append "LDFLAGS="
(string-join '("-lboost_filesystem"
"-lboost_system"
"-lboost_iostreams"
"-lz"
"-fopenmp"))))
,#~(list (string-append "ZLIB="
#$(this-package-input "zlib")
"/lib/libz.so")
(string-append "LDFLAGS="
(string-join '("-lboost_filesystem"
"-lboost_system"
"-lboost_iostreams"
"-lz"
"-fopenmp"))))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'do-not-build-bundled-pigz
@ -1959,7 +1959,6 @@ (define-public bless
("boost" ,boost)
("sparsehash" ,sparsehash)
("pigz" ,pigz)
("zlib:static" ,zlib "static")
("zlib" ,zlib)))
(supported-systems '("x86_64-linux"))
(home-page "https://sourceforge.net/p/bless-ec/wiki/Home/")