Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2026 19:17:01 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fecd9038739e - main - net-mgmt/cacti88-spine: fix build
Message-ID:  <69c2e32d.412e9.4d1af44f@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

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

commit fecd9038739e721fe150b4063f40c3cbb4fe9847
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:12:23 +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
---
 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
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69c2e32d.412e9.4d1af44f>