diff options
author | Vladimir Druzenko <vvd@FreeBSD.org> | 2025-07-10 03:16:58 +0300 |
---|---|---|
committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2025-07-10 03:19:12 +0300 |
commit | 928a3c361cd29524a46213ab70d8e6e2f9c6c754 (patch) | |
tree | 4af6622731c44f2c61220ec11f56e8cf254ff7b5 | |
parent | devel/llvm-{cheri,morello}: new snapshots, enable STATIC_LIBS (diff) |
net-mgmt/ipfixcol2: Fix build on 13.x
PR: 285757
Approved by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> (maintainer, implicit - fix build)
Co-authored-by: Chad Jacob Milios <milios@ccsys.com>
MFH: 2025Q3
-rw-r--r-- | net-mgmt/ipfixcol2/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net-mgmt/ipfixcol2/Makefile b/net-mgmt/ipfixcol2/Makefile index 08b01f0b557d..a167ea4b36f2 100644 --- a/net-mgmt/ipfixcol2/Makefile +++ b/net-mgmt/ipfixcol2/Makefile @@ -10,8 +10,6 @@ WWW= https://github.com/CESNET/ipfixcol2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_13= Requires sys/timerfd.h - ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= Requires 64bit time_t: static_assert(sizeof(uint64_t) == sizeof(time_t), "Assumed that time_t is uint64_t, but it's not") @@ -36,6 +34,12 @@ PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES +# XXX Drop after FreeBSD 13 EOL around 2026-04-30 +.if !exists(/usr/include/sys/timerfd.h) +CFLAGS+= `pkg-config --cflags epoll-shim` +LDFLAGS+= `pkg-config --libs epoll-shim` +.endif + post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}/var/run/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/doc/data/configs/udp2json.xml \ |