git: 4fc38e19f4ef - 2024Q4 - math/vowpal_wabbit: fix build on 15-CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Oct 2024 12:46:55 UTC
The branch 2024Q4 has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4fc38e19f4efca8b7d78b47017bcd651c7b0d8b8
commit 4fc38e19f4efca8b7d78b47017bcd651c7b0d8b8
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:46:16 +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
(cherry picked from commit ef3e5f26ff33dee71a04df95fed4dc8732638a08)
---
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>