Bug 275307 - ports-mgmt/portmaster ignoring TRYBROKEN from /etc/make.conf
Summary: ports-mgmt/portmaster ignoring TRYBROKEN from /etc/make.conf
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Stefan Eßer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-24 13:51 UTC by alexvpetrov
Modified: 2023-11-29 19:54 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (se)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexvpetrov 2023-11-24 13:51:33 UTC
portmaster-3.27 ignoring TRYBROKEN from /etc/make.conf

Example:
.if ${.CURDIR:M*/net-im/telegram-desktop}
TRYBROKEN=        yes
.endif
Comment 1 Stefan Eßer freebsd_committer freebsd_triage 2023-11-29 19:42:10 UTC
(In reply to alexvpetrov from comment #0)

The --try-broken option is meant to allow building ports marked as BROKEN or IGNORE.

But I do agree that setting TRYBROKEN for some port in /etc/make.conf is a useful enhancement, which will be provided in an upcoming update of portmaster.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-11-29 19:43:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=202ed6ce2a2eeb154080bfbabe5ce57a74d1d6ec

commit 202ed6ce2a2eeb154080bfbabe5ce57a74d1d6ec
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2023-11-29 19:36:45 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2023-11-29 19:36:45 +0000

    ports-mgmt/portmaster: upgrade to version 3.28

    This version supports TRYBROKEN passed in the process environment or
    in a Makefile (or, e.g., in /etc/make.conf as a per port setting) and
    treats it as equivalent to the --try-broken option.

    PR:             275307

 ports-mgmt/portmaster/Makefile | 2 +-
 ports-mgmt/portmaster/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)