git: 041f3ad35b30 - main - net-mgmt/tcptrack: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 May 2023 17:39:54 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=041f3ad35b30f1420dd9659a7ce4fd8ffe5f3f34
commit 041f3ad35b30f1420dd9659a7ce4fd8ffe5f3f34
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-14 17:12:12 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-14 17:39:23 +0000
net-mgmt/tcptrack: Unbreak on HEAD
- Pet portclippy
Approved by: portmgr (blanket)
---
net-mgmt/tcptrack/Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/net-mgmt/tcptrack/Makefile b/net-mgmt/tcptrack/Makefile
index d1662d941dc0..286d4e32c1e6 100644
--- a/net-mgmt/tcptrack/Makefile
+++ b/net-mgmt/tcptrack/Makefile
@@ -13,8 +13,15 @@ LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
USES= ncurses
+
GNU_CONFIGURE= yes
PLIST_FILES= bin/tcptrack man/man1/tcptrack.1.gz
-.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>