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
This commit is contained in:
Robert Clausecker 2024-10-26 22:21:26 +02:00
parent 00fb86f229
commit f6bae7b22a

View file

@ -1,6 +1,6 @@
PORTNAME= libsrs_alt
DISTVERSION= 1.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://opsec.eu/src/srs/
@ -8,10 +8,14 @@ MAINTAINER= pi@FreeBSD.org
COMMENT= Sender Rewriting Scheme C Implementation
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}"