[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Switching to Artifex Ghostscript
From: |
Leo Famulari |
Subject: |
Re: Switching to Artifex Ghostscript |
Date: |
Tue, 30 May 2017 00:40:24 -0400 |
User-agent: |
Mutt/1.8.2 (2017-04-18) |
On Mon, May 29, 2017 at 07:22:18PM -0400, Mark H Weaver wrote:
> > Leo Famulari <address@hidden> writes:
> >
> >> + (replace 'build
> >> + (lambda _
> >> + ;; Build 'libgs.so', but don't build the statically-linked
> >> 'gs'
> >> + ;; binary (saves 22 MiB).
> >> + (zero? (system* "make" "so" "-j"
> >> + (number->string
> >> (parallel-job-count))))))
> >
> > Couldn’t we just add “#:make-flags '("so")” and avoid replacing the
> > build phase?
>
> FWIW, I think it's a bad habit to abuse #:make-flags for targets,
> because the contents of #:make-flags is also passed to 'make' during the
> 'install' and 'check' phases.
That's a good point. For this package I think we can just re-use the
build phase replacement from the GNU Ghostscript package, as in v1 of my
patch.
> IMO, if we want to avoid replacing the build phase in cases like this,
> it would be better to add a separate #:build-target argument.
>
> Thoughts?
Yes, it could be useful.
signature.asc
Description: PGP signature
- Re: Switching to Artifex Ghostscript, (continued)
- Re: Switching to Artifex Ghostscript, Ricardo Wurmus, 2017/05/21
- Re: Switching to Artifex Ghostscript, Ludovic Courtès, 2017/05/23
- Re: Switching to Artifex Ghostscript, Leo Famulari, 2017/05/29
- Re: Switching to Artifex Ghostscript, Leo Famulari, 2017/05/29
- Re: Switching to Artifex Ghostscript, Ricardo Wurmus, 2017/05/29
- Re: Switching to Artifex Ghostscript, Leo Famulari, 2017/05/29
- Re: Switching to Artifex Ghostscript, Leo Famulari, 2017/05/29
- Re: Switching to Artifex Ghostscript, Mark H Weaver, 2017/05/29
- Re: Switching to Artifex Ghostscript,
Leo Famulari <=