diff options
Diffstat (limited to 'gnu/packages/man.scm')
-rw-r--r-- | gnu/packages/man.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index bc7eefb267..e12dc29230 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -225,6 +225,11 @@ the traditional flat-text whatis databases.") #:make-flags #~(list (string-append "bindir=" #$output "/bin") "manhtml") #:phases #~(modify-phases %standard-phases + (add-before 'configure 'fix-includes + (lambda _ + (substitute* "src/makemsg.c" + (("#include <unistd.h>" all) + (string-append all "\n#include <string.h>"))))) (replace 'configure (lambda _ (setenv "CC" #$(cc-for-target)) |