From 40560b03b69f5d2c14ad5a91c26b46a31c5a685c Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 6 Sep 2016 14:27:29 +0000 Subject: [PATCH] - Fix build with --disable-silent-rules With verbose build all utilities are called with --help and --version arguments just to show their output. This, however, may fail: PATH=/wrkdirs/usr/ports/net/pacemaker/work/pacemaker-Pacemaker-1.1.14/tools:$PATH /wrkdirs/usr/ports/net/pacemaker/work/pacemaker-Pacemaker-1.1.14/tools/crm_standby --help Error signing on to the CIB service: Socket is not connected Error signing on to the CIB service: Socket is not connected So just remove these calls, they have no use anyway. PR: 212075 Approved by: portmgr blanket --- net/pacemaker/files/patch-Makefile.common | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/pacemaker/files/patch-Makefile.common diff --git a/net/pacemaker/files/patch-Makefile.common b/net/pacemaker/files/patch-Makefile.common new file mode 100644 index 000000000000..268e0adf61bd --- /dev/null +++ b/net/pacemaker/files/patch-Makefile.common @@ -0,0 +1,11 @@ +--- Makefile.common.orig 2016-01-14 21:43:08 UTC ++++ Makefile.common +@@ -38,8 +38,6 @@ endif + + %.8: % $(MAN8DEPS) + chmod a+x $(abs_builddir)/$< +- $(PCMK_V) PATH=$(abs_builddir):$$PATH $(abs_builddir)/$< --help +- $(PCMK_V) PATH=$(abs_builddir):$$PATH $(abs_builddir)/$< --version + $(AM_V_MAN)PATH=$(abs_builddir):$$PATH $(HELP2MAN) --output $@ --no-info --section 8 --name "Part of the Pacemaker cluster resource manager" $(abs_builddir)/$< + + %.xml: %