On Tue, Jul 21, 2015 at 2:53 PM, Mark H Weaver <m...@netris.org> wrote: > David Thompson <dthomps...@worcester.edu> writes: > >> From 567748faa4e3e03fe9b106a8ea61843a2d31409d Mon Sep 17 00:00:00 2001 >> From: David Thompson <dthomps...@worcester.edu> >> Date: Sun, 19 Jul 2015 10:41:34 -0400 >> Subject: [PATCH] gnu: Add hoedown. > > Sorry for not reviewing this earlier, but... > >> + '(#:phases (modify-phases %standard-phases >> + (add-before 'build 'fix-makefile >> + (lambda* (#:key outputs #:allow-other-keys) >> + (setenv "CC" "gcc") >> + (substitute* '("Makefile") >> + (("/usr/local") >> + (assoc-ref outputs "out"))) >> + #t)) > > Instead of the 'fix-makefile' phase, you can simply do this: > > #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)) > > I tested the following patch, and it works.
Thank you, feel free to apply it or I can do it later. - Dave