Maybe typo in Makefile.common .
-DBUS_VARS_OFF= REPLACE_ARGS+="-e 's/HAVE_dbus=1/HAVE_dbus=0/'"
+DBUS_VARS_OFF= REPLACE_ARGS_OCF+="-e 's/HAVE_dbus=1/HAVE_dbus=0/'"
hello there! hi,
thanks for already sharing a patch for that. appreciated :)
I should take time this week to get it a try and get back to the PR. 
Created attachment 224361 [details]
net/pacemaker1: fix the use of REPLACE_ARGS and REPLACE_ARGS_OCF
I'm attaching here a patch file which I do plan to commit; there are still a few testing scenarios to be checked before it hits our tree.
- we are having issues on 13.0 with this one.
would you mind to check on your side as well?
It's fine in test building.
A commit in branch main references this bug:
Author: VinÃcius Zavam <egypcio@FreeBSD.org>
AuthorDate: 2021-05-06 23:50:05 +0000
Commit: VinÃcius Zavam <egypcio@FreeBSD.org>
CommitDate: 2021-05-06 23:50:05 +0000
net/pacemaker1: fix DBUS config option, and its REINPLACE_ARGS
- 'post-patch-common' never used was DBUS_VARS_OFF really set;
- REPLACE_ARGS renamed to REPLACE_CMD_ARGS;
- REPLACE_ARGS_OCF and REPLACE_ARGS_DBUS append into REPLACE_ARGS.
* mark port as broken if OSVERSION>=1300000
Reported by: masamory7 % gmail.com
net/pacemaker1/Makefile | 5 +++++
net/pacemaker1/Makefile.common | 10 +++++-----
2 files changed, 10 insertions(+), 5 deletions(-)