git: f115ce0ff459 - 2026Q1 - net-mgmt/cacti88-spine: fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Mar 2026 19:18:45 UTC
The branch 2026Q1 has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f115ce0ff459f353785d69a94edb84a69aab73cd
commit f115ce0ff459f353785d69a94edb84a69aab73cd
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-03-18 15:53:39 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-03-24 19:18:13 +0000
net-mgmt/cacti88-spine: fix build
net-snmp-config --cflags returns some bogus cflags, including some
dreaded -Werror flags (?!), preventing the build. Filter those out
as a stop gap measure.
PR: 293905
MFH: 2026Q1
Approved by: portmgr (build fix blanket)
Sponsored by: Raptor Computing Systems, LLC
(cherry picked from commit fecd9038739e721fe150b4063f40c3cbb4fe9847)
---
net-mgmt/cacti88-spine/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mgmt/cacti88-spine/Makefile b/net-mgmt/cacti88-spine/Makefile
index c3edca5f71b2..6f90f90790a9 100644
--- a/net-mgmt/cacti88-spine/Makefile
+++ b/net-mgmt/cacti88-spine/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \
GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE}
-CPPFLAGS+= `net-snmp-config --cflags`
+CPPFLAGS+= ${:!net-snmp-config --cflags!:M-[IDUf]*}
LDFLAGS+= `net-snmp-config --libs`
USES= libtool mysql ssl