git: 3df899be4147 - main - biology/haplohseq: Fix build on FreeBSD 14

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 16:38:34 UTC
The branch main has been updated by jwb:

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

commit 3df899be41477eac63133c5a618947719ae04f9e
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2023-07-09 16:37:39 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2023-07-09 16:37:39 +0000

    biology/haplohseq: Fix build on FreeBSD 14
    
    Add -std=c++14 to override clang 16 default
    
    Reported by:    pkg-fallout
---
 biology/haplohseq/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/biology/haplohseq/Makefile b/biology/haplohseq/Makefile
index 415a0d243c70..39694f381483 100644
--- a/biology/haplohseq/Makefile
+++ b/biology/haplohseq/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	haplohseq
 DISTVERSION=	0.1.2
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	biology
 
 MAINTAINER=	jwb@FreeBSD.org
@@ -12,7 +12,7 @@ LICENSE=	MIT
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs
 RUN_DEPENDS=	R-cran-optparse>0:devel/R-cran-optparse
 
-USES=		compiler:c++11-lang gmake localbase:ldflags python
+USES=		compiler:c++14-lang gmake localbase:ldflags python
 USE_GITHUB=	yes
 
 GH_ACCOUNT=	outpaddling
@@ -20,6 +20,7 @@ GH_ACCOUNT=	outpaddling
 OPTIONS_DEFINE=	EXAMPLES
 
 MAKEFILE=	makefile
+CXXFLAGS+=	-std=c++14
 LDFLAGS+=	-lpthread
 MAKE_ENV=	STRIP=${STRIP}