Date: Thu, 09 May 2024 17:04:09 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277913] emulators/wine-devel: build error: invalid option -- D Message-ID: <bug-277913-7788-uCCsOn4G92@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277913-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-277913-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277913 --- Comment #1 from O. Hartmann <ohartmann@walstatt.org> --- See ports/CHANGES: [...] 20240229: AUTHOR: tijl@FreeBSD.org A new command SETENVI that clears the environment and a new variable WRK_ENV that contains a basic environment to use with SETENVI have been added. Ports that run (parts of) the upstream build system directly using commands like "${SETENV} ${MAKE_ENV} ${MAKE_CMD} ..." should change that to "${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ...". This way the build system runs with a clean environment without interference from the user environment or ports framework environment. Ports can add extra environment variables to WRK_ENV similar to CONFIGURE_ENV, MAKE_ENV, TEST_ENV, and so on, but WRK_ENV is used in all targets while the latter are target-specific. [...] Adjusting the port accordingly unbreaks the build for portmaster. --=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-277913-7788-uCCsOn4G92>