diff --git a/net/pacemaker1/Makefile b/net/pacemaker1/Makefile index 0ed8bdd696c3..b978cea40f88 100644 --- a/net/pacemaker1/Makefile +++ b/net/pacemaker1/Makefile @@ -1,43 +1,41 @@ PORTVERSION= 1.1.24 PORTREVISION= 4 PKGNAMESUFFIX= 1 WWW= https://www.clusterlabs.org/pacemaker/ .include "${.CURDIR}/Makefile.common" CONFLICTS+= pacemaker2 SHEBANG_FILES+= cts/cts \ cts/lxc_autogen.sh.in \ fencing/* \ lrmd/* \ mcp/* \ tools/* \ xml/* \ BasicSanity.sh \ coverage.sh.in \ cts/CTSlab.py \ pengine/regression.sh REPLACE_ARGS_GETOPT= -e 's,getopt,${LOCALBASE}/bin/getopt,' +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-cts_remote.py \ + ${PATCHDIR}/extra-patch-cts_watcher.py + .include # Fix building it with clang 11 .if ${OSVERSION} >= 1300000 CFLAGS+= -fcommon .endif -.if ${PYTHON_SUFFIX} > 36 -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-cts_remote.py \ - ${PATCHDIR}/extra-patch-cts_watcher.py -.endif - post-patch: post-patch-common @${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_failcount @${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_master @${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_report.in @${REINPLACE_CMD} ${REPLACE_ARGS_GETOPT} ${WRKSRC}/tools/crm_standby .include