Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2023 18:26:29 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fa5149297a9b - main - science/crf++: Fix build with llvm16
Message-ID:  <202307211826.36LIQTmH091267@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit fa5149297a9b8f6c884128f9d06629e29f7832cf
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 18:23:06 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 18:26:14 +0000

    science/crf++: Fix build with llvm16
    
    - Mark DEPRECATED as last upstream activity was in 2015
    - Set EXPIRATION_DATE to 2023-09-30
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 science/crf++/Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/science/crf++/Makefile b/science/crf++/Makefile
index 53ee1a38372a..777825138448 100644
--- a/science/crf++/Makefile
+++ b/science/crf++/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	crf++
 # 0.59 as defined in
 # https://github.com/taku910/crfpp/commit/d78526835e4cfcc4822156724edda8a3839327c2
 DISTVERSION=	0.59
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	science math
 PATCH_SITES=	https://patch-diff.githubusercontent.com/raw/taku910/crfpp/pull/:pr
 PATCHFILES=	15.patch:-p1:pr \
@@ -17,19 +17,28 @@ LICENSE_COMB=	dual
 LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/BSD
 LICENSE_FILE_LGPL21+ =	${WRKSRC}/LGPL
 
+DEPRECATED=	Last upstream activity was in 2015
+EXPIRATION_DATE=	2023-09-30
+
 USES=		libtool
 USE_GITHUB=	yes
 GH_ACCOUNT=	taku910
 GH_PROJECT=	crfpp
 GH_TAGNAME=	1dc92a606f874a4fe52603803364cc1d90f952fb
 USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
+
 INSTALL_TARGET=	install-strip
 
 PORTEXAMPLES=	JapaneseNE basenp chunking seg
 
 OPTIONS_DEFINE=	EXAMPLES
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|CXXFLAGS=\"-O3 -Wall|CXXFLAGS=\"-O3 -Wall --std=c++14|g' \
+		${WRKSRC}/configure
+
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAPLESDIR}
 	(cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307211826.36LIQTmH091267>