git: d7347075f1ec - main - textproc/re-flex: make SIMD optional

From: Pietro Cerutti <gahr_at_FreeBSD.org>
Date: Wed, 23 Feb 2022 08:44:55 UTC
The branch main has been updated by gahr:

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

commit d7347075f1ecaf154d4226c186db09a9115bcbc2
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2022-02-23 08:36:38 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2022-02-23 08:44:49 +0000

    textproc/re-flex: make SIMD optional
    
    PR:             262134
    Reported by:    Robert Clausecker  <fuz@fuz.su>
---
 textproc/re-flex/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/textproc/re-flex/Makefile b/textproc/re-flex/Makefile
index 0b8c6b286e79..5ed486965b7d 100644
--- a/textproc/re-flex/Makefile
+++ b/textproc/re-flex/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	re-flex
 PORTVERSION=	3.1.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	textproc
 
 MAINTAINER=	gahr@FreeBSD.org
@@ -11,6 +11,10 @@ LICENSE=	BSD3CLAUSE
 
 USES=		compiler:c++11-lib cmake
 
+OPTIONS_DEFINE=	SIMD
+SIMD_CMAKE_OFF=	-DUSE_AVX512BW:BOOL=OFF -DUSE_AVX2:BOOL=OFF \
+		-DUSE_SSE2:BOOL=OFF -DUSE_NEON:BOOL=OFF
+
 CONFLICTS_INSTALL=	reflex
 
 USE_GITHUB=	yes