git: d5690ee7a320 - main - net-mgmt/netdata: enable LTO on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 08 Aug 2023 14:59:02 UTC
The branch main has been updated by pkubaj:

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

commit d5690ee7a32095392415a022414c0a3771b4cc14
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-08 09:46:00 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-08 14:58:31 +0000

    net-mgmt/netdata: enable LTO on powerpc64
---
 net-mgmt/netdata/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile
index 3dc6e68e391b..7049be9a6b31 100644
--- a/net-mgmt/netdata/Makefile
+++ b/net-mgmt/netdata/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	netdata
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.40.1
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
 
@@ -51,7 +52,6 @@ PLIST_SUB=	NETDATA_CACHE=${NETDATA_CACHE} \
 
 OPTIONS_DEFINE=		CLOUD CUPS DBENGINE FREEIPMI GOPLUGIN LTO ML
 OPTIONS_DEFAULT=	CLOUD DBENGINE LTO
-OPTIONS_EXCLUDE_powerpc64=	LTO
 OPTIONS_EXCLUDE_riscv64=	LTO
 OPTIONS_SUB=		YES
 
@@ -76,12 +76,6 @@ LTO_CONFIGURE_ENABLE=		lto
 ML_BUILD_DEPENDS=		${LOCALBASE}/include/dlib/matrix.h:science/dlib-cpp
 ML_CONFIGURE_ENABLE=		ml
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MLTO} && ${ARCH} == powerpc64
-USE_GCC=	yes
-.endif
-
 NETDATA_CACHE=	/var/cache/${PORTNAME}
 NETDATA_LOG=	/var/log/${PORTNAME}
 NETDATA_PERST=	/var/db/${PORTNAME}