From 62d00095c2d20f4625189c7e5d642f66f65fd9d7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 22 Sep 2016 19:20:26 +0300 Subject: gnu: prank: Allow building on 32-bit machines. * gnu/packages/bioinformatics.scm (prank)[arguments]: Add a phase removing the '-m64' compiler flag. --- gnu/packages/bioinformatics.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index b273d2c540..28d138855d 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3529,6 +3529,12 @@ (define-public prank (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) -- cgit v1.2.3