Hi Pavel,

sysutils/beats will break if we switch to python 3.9 due to a recent 
change that hardcoded python 3.8.

The below diff is using a more standard approach to remove python as an 
RDEP. I think this was the intent of the recent change?

ok?

Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/sysutils/beats/Makefile.inc,v
retrieving revision 1.16
diff -u -p -u -r1.16 Makefile.inc
--- Makefile.inc        30 Jan 2021 10:03:40 -0000      1.16
+++ Makefile.inc        13 May 2021 12:08:15 -0000
@@ -34,9 +34,8 @@ post-patch:
        ${SUBST_CMD} ${SUBST_TARGETS}
 
 .if defined(KIBANA_DASHBOARDS) && ${KIBANA_DASHBOARDS:L} == "yes"
-MODPY_VERSION =                3.8
-MODPY_BIN =            ${LOCALBASE}/bin/python${MODPY_VERSION}
-BUILD_DEPENDS +=        lang/python/${MODPY_VERSION}
+MODULES =              lang/python
+MODPY_RUNDEP =         No
 post-build:
        cd ${WRKSRC}/${BEAT} && \
        find . -type d -path \*_meta/\* -name kibana \

Reply via email to