[Bug 277492] lang/ghc fails build/install gmake invalid option -- D
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 277492] lang/ghc fails build/install gmake invalid option -- D"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Mar 2024 20:25:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277492
--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=830ec3717024e0060b2b48db4319a4eb060f8023
commit 830ec3717024e0060b2b48db4319a4eb060f8023
Author: Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2024-03-06 19:13:39 +0000
Commit: Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2024-03-06 20:22:21 +0000
Mk/Scripts/do-depends.sh: Avoid make -D flag
Both FreeBSD make and GNU make pass command line flags to sub-makes
through the MAKEFLAGS environment variable, but the flags aren't
compatible and GNU make 4.4 exits with an error when it encounters
flags it doesn't understand, e.g. -D.
Avoid using the flag for now until ports run gmake with SETENVI.
This fixes the case where a port is built using make directly and it
recurses to build a dependency that uses gmake. Poudriere does not
use this feature of the ports tree to build dependencies so it's not
affected.
PR: 272216, 277492
Mk/Scripts/do-depends.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.