From bec3162cc0d7607405ac59a6e6e93a03cfabfa3f Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Sat, 26 Oct 2024 22:29:30 +0200 Subject: [PATCH] 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 --- net/mad_fcl/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/mad_fcl/Makefile b/net/mad_fcl/Makefile index afcfff56eae3..0d4808daa12d 100644 --- a/net/mad_fcl/Makefile +++ b/net/mad_fcl/Makefile @@ -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