[Bug 278684] misc/shared-mime-info: portmaster failure: invalid option -- D
Date: Wed, 04 Dec 2024 09:13:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278684
O. Hartmann <ohartmann@walstatt.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ohartmann@walstatt.org
Attachment #255616| |maintainer-approval+
Flags| |
--- Comment #2 from O. Hartmann <ohartmann@walstatt.org> ---
Created attachment 255616
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255616&action=edit
Fix portmaster build failure
Following entry /usr/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.
[...]
the reported problem can be easily mitigated, if not being fixed by applying
the patch provided. Not much brains necessary.
--
You are receiving this mail because:
You are the assignee for the bug.