git: 5c4a2741408a - main - comms/bladerf: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 May 2023 14:39:19 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5c4a2741408a26067cf43bf81e0db8259e4d9171
commit 5c4a2741408a26067cf43bf81e0db8259e4d9171
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-06 14:35:58 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-06 14:39:03 +0000
comms/bladerf: Unbreak on HEAD
Approved by: portmgr (blanket)
---
comms/bladerf/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/comms/bladerf/Makefile b/comms/bladerf/Makefile
index e246d9501417..26064dd71104 100644
--- a/comms/bladerf/Makefile
+++ b/comms/bladerf/Makefile
@@ -25,4 +25,10 @@ PLIST_FILES= bin/bladeRF-cli \
lib/libbladeRF.so.2 \
libdata/pkgconfig/libbladeRF.pc
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+= -Wno-error=unused-but-set-variable
+.endif
+
+.include <bsd.port.post.mk>