portmaster does not support 'TRYBROKEN=yes'. root@eastasia[1242]# TRYBROKEN=yes portmaster www/havp ===>>> Port directory: /usr0/freebsd/ports/head/www/havp ===>>> This port is marked BROKEN ===>>> fails to build ===>>> If you are sure you can build it, remove the BROKEN line in the Makefile and try again. root@eastasia[1243]# portmaster -m TRYBROKEN=yes www/havp ===>>> Port directory: /usr0/freebsd/ports/head/www/havp ===>>> This port is marked BROKEN ===>>> fails to build ===>>> If you are sure you can build it, remove the BROKEN line in the Makefile and try again. root@eastasia[1244]#
Created attachment 206621 [details] svn-diff-trybroken It is a workaroud patch. Works in your example: portmaster -m -DTRYBROKEN www/havp
Created attachment 206623 [details] svn-diff-trybroken_2 Changed it slightly: you can use portmaster -m -DTRYBROKEN www/havp or portmaster -m -DTRYBROKEN=yes www/havp
Created attachment 210995 [details] svn-diff-trybroken_3 Update patch after ports r523835.
A commit references this bug: Author: se Date: Sun Jan 26 18:19:01 UTC 2020 New revision: 524227 URL: https://svnweb.freebsd.org/changeset/ports/524227 Log: Add option --try-broken This option makes portmaster try to build ports that are marked as BROKEN or IGNORE. Passing this option implies the "-m -DTRYBROKEN" option. The change is inspired by (but not based on) the patch suggested by Walter Schwarzenfeld. PR: 235793 Reported by: Yasuhiro KIMURA Approved by: antoine (implicit) Changes: head/ports-mgmt/portmaster/Makefile head/ports-mgmt/portmaster/files/patch-files_portmaster.8 head/ports-mgmt/portmaster/files/patch-portmaster
Thank you for providing the patch! I have chosen to add this feature in a different way, but have been able to use your patch as the starting point ...