git: cec47567f968 - 2024Q4 - net-mgmt/portmon: link with -lutil for ftime(3) in 15-CURRENT

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 28 Oct 2024 12:46:47 UTC
The branch 2024Q4 has been updated by fuz:

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

commit cec47567f9680b48e45ef4ad7fa6248546713f77
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-10-26 12:35:31 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-10-28 12:46:12 +0000

    net-mgmt/portmon: link with -lutil for ftime(3) in 15-CURRENT
    
    The symbol ftime has been moved from libcompat to libutil in 15-CURRENT.
    Link with -lutil to pick it up.  This doesn't hurt on older FreeBSD.
    
    See also: bb421be6c1174fad837973acc5e4a7bade4489db (src)
    
    MFH:            2024Q4
    (cherry picked from commit 33df781ed1ebcca1a022a92d9c3080613d537fca)
---
 net-mgmt/portmon/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-mgmt/portmon/Makefile b/net-mgmt/portmon/Makefile
index 0a7031e7e73d..53c26c94e1bb 100644
--- a/net-mgmt/portmon/Makefile
+++ b/net-mgmt/portmon/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	portmon
 PORTVERSION=	2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://voodoo.bawue.com/download/ \
 		http://www.aboleo.net/software/portmon/downloads/ \
@@ -14,6 +14,7 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 GNU_CONFIGURE=	yes
+LIBS+=		-lutil
 
 PLIST_FILES=	bin/portmon etc/portmon.hosts.sample share/man/man8/portmon.8.gz
 PORTDOCS=	README