1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net/pacemaker1/Makefile
Vinícius Zavam 73059f063e
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.

  while here,

    * mark port as broken if OSVERSION>=1300000

PR:		254653
Reported by:	masamory7 % gmail.com
2021-05-06 23:50:05 +00:00

43 lines
1.0 KiB
Makefile

# Created by: David Shane Holden <dpejesh@yahoo.com>
PORTVERSION= 1.1.24
PORTREVISION= 1
PKGNAMESUFFIX= 1
.include "${.CURDIR}/Makefile.common"
CONFLICTS+= pacemaker2-[0-9]*
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,'
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 1300000
BROKEN= "includes <sys/timeb.h> which is deprecated"
.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 <bsd.port.post.mk>