git: d9ba4a223e57 - main - net-mgmt/netdata: disable ML on powerpc64le to fix build

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 09 Jul 2024 10:04:55 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d9ba4a223e578124526207fc09d4142bf8e0b8ed

commit d9ba4a223e578124526207fc09d4142bf8e0b8ed
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-07-08 19:44:18 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-07-09 10:04:33 +0000

    net-mgmt/netdata: disable ML on powerpc64le to fix build
    
    if test "${host_cpu}" = "powerpc64le"; then
      have_cxx17="no"
      have_cxx11="no"
      CPP_STD_FLAG=""
      cpp_std_to_use="no c++ on powerpc64le"
      AM_CONDITIONAL([HAVE_CXX17], [false])
      AM_CONDITIONAL([HAVE_CXX11], [false])
    fi
---
 net-mgmt/netdata/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile
index fb741f8540e1..fc5f4583335f 100644
--- a/net-mgmt/netdata/Makefile
+++ b/net-mgmt/netdata/Makefile
@@ -54,6 +54,7 @@ PLIST_SUB=	NETDATA_CACHE=${NETDATA_CACHE} \
 OPTIONS_DEFINE=		CLOUD CUPS DBENGINE FREEIPMI GOPLUGIN LTO ML
 OPTIONS_DEFAULT=	CLOUD DBENGINE LTO ML
 OPTIONS_EXCLUDE_riscv64=	LTO
+OPTIONS_EXCLUDE_powerpc64le=	ML
 OPTIONS_SUB=		YES
 
 CLOUD_DESC=		Enable cloud functionality