[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add hoedown.
From: |
Thompson, David |
Subject: |
Re: [PATCH] gnu: Add hoedown. |
Date: |
Tue, 21 Jul 2015 15:04:24 -0400 |
On Tue, Jul 21, 2015 at 2:53 PM, Mark H Weaver <address@hidden> wrote:
> David Thompson <address@hidden> writes:
>
>> From 567748faa4e3e03fe9b106a8ea61843a2d31409d Mon Sep 17 00:00:00 2001
>> From: David Thompson <address@hidden>
>> 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