git: 33df781ed1eb - main - 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:44:15 UTC
The branch main has been updated by fuz:

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

commit 33df781ed1ebcca1a022a92d9c3080613d537fca
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:41:59 +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
---
 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