Summary: | misc/shared-mime-info: portmaster failure: invalid option -- D | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | O. Hartmann <ohartmann> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-desktop (Team) <desktop> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | arrowd, ohartmann | ||||
Priority: | --- | Flags: | arrowd:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
O. Hartmann
2024-05-01 17:13:02 UTC
*** Bug 279931 has been marked as a duplicate of this bug. *** Created attachment 255616 [details] 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. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e313dc66b109653ecf82f0f0bdccf2b220208de commit 7e313dc66b109653ecf82f0f0bdccf2b220208de Author: O. Hartmann <ohartmann@walstatt.org> AuthorDate: 2024-12-07 09:29:18 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-12-07 09:29:56 +0000 misc/shared-mime-info: Use SETENVI instead of SETENV PR: 278684 misc/shared-mime-info/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Thank you. (In reply to Gleb Popov from comment #4) Dito! Thank you very much. oh |