git: ef3e5f26ff33 - main - math/vowpal_wabbit: fix build on 15-CURRENT

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

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

commit ef3e5f26ff33dee71a04df95fed4dc8732638a08
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-10-26 20:46:54 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-10-28 12:42:07 +0000

    math/vowpal_wabbit: fix build on 15-CURRENT
    
    Link with -lutil to get ftime() which was moved there recently.
    This is harmless on older FreeBSD.  Define LICENSE while we are at it.
    
    Approved by:    portmgr (build fix blanket, infrastructure blanket)
    MFH:            2024Q4
---
 math/vowpal_wabbit/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/math/vowpal_wabbit/Makefile b/math/vowpal_wabbit/Makefile
index 97c7aa46e98c..a99da09b5df6 100644
--- a/math/vowpal_wabbit/Makefile
+++ b/math/vowpal_wabbit/Makefile
@@ -1,12 +1,15 @@
 PORTNAME=	vowpal_wabbit
 PORTVERSION=	7.10
-PORTREVISION=	24
+PORTREVISION=	25
 CATEGORIES=	math
 
 MAINTAINER=	demon@FreeBSD.org
 COMMENT=	Fast out-of-core learning system
 WWW=		https://github.com/JohnLangford/vowpal_wabbit/wiki
 
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
 
 USES=		compiler:c++11-lang libtool
@@ -16,5 +19,6 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	JohnLangford
 
 CONFIGURE_ARGS=	--enable-shared=no --with-boost=${LOCALBASE}
+LIBS+=		-lutil
 
 .include <bsd.port.mk>