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,17 +1,21 @@
PORTNAME= libsrs_alt PORTNAME= libsrs_alt
DISTVERSION= 1.0 DISTVERSION= 1.0
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail CATEGORIES= mail
MASTER_SITES= http://opsec.eu/src/srs/ MASTER_SITES= http://opsec.eu/src/srs/
MAINTAINER= pi@FreeBSD.org MAINTAINER= pi@FreeBSD.org
COMMENT= Sender Rewriting Scheme C Implementation 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 USES= libtool tar:bzip2
USE_LDCONFIG= yes USE_LDCONFIG= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
LIBS+= -lutil
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"