[Bug 277913] emulators/wine-devel: build error: invalid option -- D
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 277913] emulators/wine-devel: build error: invalid option -- D"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 May 2024 17:04:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277913
--- 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.
--
You are receiving this mail because:
You are the assignee for the bug.