Date: Sun, 08 Sep 2024 20:32:52 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281373] devel/gprbuild: don't let MAKEFLAGS pollute gprbuild gmake invocation Message-ID: <bug-281373-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281373 Bug ID: 281373 Summary: devel/gprbuild: don't let MAKEFLAGS pollute gprbuild gmake invocation Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jcfyecrayz@liamekaens.com Arguments passed to make for the top level port build for devel/gprbuild ca= n be consumed by gmake used to build the actual upstream project (vs the ports infrastructure 'make' operations). For instance, 'make -DNO_DEPENDS stage' will pass "MAKEFLAGS=3D -D NO_DEPEN= DS ..." in the environment to the gmake invocation. gmake chokes on that with= the following: : invalid option -- D Usage: gmake [options] [target] ... Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. . . A fix for that is to clear the environment as with the ports 572f2361692640bc27729191b1267aa3fcc354a7 commit that added SETENVI and WRK_= ENV. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281373-7788>