net/mad_fcl: fix build on 15-CURRENT

Link with -lutil to get ftime(), which was moved there in 15-CURRENT.
This is harmless on older FreeBSD versions.

While we are at it, define LICENSE.

MFH:		2024Q4
(cherry picked from commit bec3162cc0)
This commit is contained in:
Robert Clausecker 2024-10-26 22:29:30 +02:00
parent 379985f7dd
commit abde8636b2
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= mad_fcl
PORTVERSION= 1.7
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://mad.cs.tut.fi/download/
DISTNAME= ${PORTNAME}_v${PORTVERSION}_src
@ -8,6 +9,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= File Delivery over Unidirectional Transport implementation
WWW= http://mad.cs.tut.fi/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENCE.TXT
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libcurl.so:ftp/curl
@ -17,7 +21,7 @@ MAKE_JOBS_UNSAFE= yes
CFLAGS+= -DHAVE_SYS_TYPES_H -DHAVE_SYS_SELECT_H -DHAVE_UNISTD_H \
-I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -pthread
LDFLAGS+= -L${LOCALBASE}/lib -pthread -lutil
PORTDOCS= README.TXT
PORTEXAMPLES= fdt-example.xml flute-sdp-example.sdp