git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Makefile: remove accidental recipe prefix in conditional

From
Patrick Steinhardt <ps@pks.im>
Date
Feb 14, 2025, 04:55 UTC
Message-ID
<Z67M2rZ082v5j9SH@pks.im>
In-Reply-To
<a79e9e9f50410721d85747b03559d55be98bca20.1739478347.git.me@ttaylorr.com>
On Thu, Feb 13, 2025 at 03:25:50PM -0500, Taylor Blau wrote:
Show 12 quoted lines
> Back in 728b9ac0c3 (Makefile(s): avoid recipe prefix in conditional
> statements, 2024-04-08), we prepared our Makefiles for a forthcoming
> change in upstream Make that would ban the recipe prefix within a
> conditional statement by replacing tabs (the prefix) with eight spaces.
> 
> In b9d6f64393 (compat/zlib: allow use of zlib-ng as backend,
> 2025-01-28), a handful of recipe prefix characters were introduced in a
> conditional statement ('ifdef ZLIB_NG'), causing 'make' to fail on my
> system, which uses GNU Make 4.4.90.
> 
> Remove the recipe prefix characters by replacing them with the same
> script as is mentioned in 728b9ac0c3.

Oh, that's a change I wasn't aware of in Make. The patch looks obviously good to me in that context, thanks for fixing!

Patrick
Previous: Junio C Hamano
Message 3 of 3 in “Makefile: remove accidental recipe prefix in conditional”
  1. Makefile: remove accidental recipe prefix in conditionalTaylor Blau, Feb 13, 2025
  2. Junio C HamanoFeb 13, 2025
  3. Patrick SteinhardtFeb 14, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.