gnu: prank: Allow building on 32-bit machines.

* gnu/packages/bioinformatics.scm (prank)[arguments]: Add a phase
removing the '-m64' compiler flag.
This commit is contained in:
Efraim Flashner 2016-09-22 19:20:26 +03:00
parent a143e1b877
commit 62d00095c2
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 6 additions and 0 deletions

View File

@ -3529,6 +3529,12 @@ generated using the PacBio Iso-Seq protocol.")
(lambda _
(chdir "src")
#t))
(add-after 'unpack 'remove-m64-flag
;; Prank will build with the correct 'bit-ness' without this flag
;; and this allows building on 32-bit machines.
(lambda _ (substitute* "src/Makefile"
(("-m64") ""))
#t))
(delete 'configure)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)