git: f6bae7b22a4a - main - mail/libsrs_alt: fix build on 15-CURRENT

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

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

commit f6bae7b22a4a5931f3f32d49d699003e7050002b
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-10-26 20:21:26 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-10-28 12:42:04 +0000

    mail/libsrs_alt: fix build on 15-CURRENT
    
    Link with -lutil to get ftime() on 15-CURRENT.  This is harmless on
    older FreeBSD versions.  While we are at it, define LICENSE.
    
    Approved by:    portmgr (build fix blanket, infrastructure blanket)
    MFH:            2024Q4
---
 mail/libsrs_alt/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/mail/libsrs_alt/Makefile b/mail/libsrs_alt/Makefile
index 3f08252c3c12..3fca88a3ff8b 100644
--- a/mail/libsrs_alt/Makefile
+++ b/mail/libsrs_alt/Makefile
@@ -1,17 +1,21 @@
 PORTNAME=		libsrs_alt
 DISTVERSION=		1.0
-PORTREVISION=		2
+PORTREVISION=		3
 CATEGORIES=		mail
 MASTER_SITES=		http://opsec.eu/src/srs/
 
 MAINTAINER=		pi@FreeBSD.org
 COMMENT=		Sender Rewriting Scheme C Implementation
-WWW=		https://opsec.eu/src/srs/
+WWW=			https://opsec.eu/src/srs/
+
+LICENSE=		GPLv2
+LICENSE_FILE=		${WRKSRC}/COPYING
 
 USES=			libtool tar:bzip2
 USE_LDCONFIG=		yes
 
 GNU_CONFIGURE=		yes
+LIBS+=			-lutil
 
 PLIST_SUB=		SHLIB_MAJOR="${SHLIB_MAJOR}"