git: de9c50e72c35 - main - net/pacemaker1: Remove PYTHON_SUFFIX Conditionals
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Sep 2023 15:10:33 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=de9c50e72c3542c29b9a12aecb9f736bc3cf45e5
commit de9c50e72c3542c29b9a12aecb9f736bc3cf45e5
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-30 13:02:35 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-30 15:10:20 +0000
net/pacemaker1: Remove PYTHON_SUFFIX Conditionals
At the moment the minimum supported Python version is 3.8 and later so
remove the PYTHON_SUFFIX conditionals for greater than version 3.6 as
all version satisfies this conditions.
Approved by: portmgr (blanket)
---
net/pacemaker1/Makefile | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/net/pacemaker1/Makefile b/net/pacemaker1/Makefile
index 0ed8bdd696c3..b978cea40f88 100644
--- a/net/pacemaker1/Makefile
+++ b/net/pacemaker1/Makefile
@@ -22,6 +22,9 @@ SHEBANG_FILES+= cts/cts \
REPLACE_ARGS_GETOPT= -e 's,getopt,${LOCALBASE}/bin/getopt,'
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-cts_remote.py \
+ ${PATCHDIR}/extra-patch-cts_watcher.py
+
.include <bsd.port.pre.mk>
# Fix building it with clang 11
@@ -29,11 +32,6 @@ REPLACE_ARGS_GETOPT= -e 's,getopt,${LOCALBASE}/bin/getopt,'
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