git: 818670886c44 - main - cad/netgen: don't set -march=native

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 23 Dec 2021 22:20:20 UTC
The branch main has been updated by pkubaj:

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

commit 818670886c44d289e209f3e68ee34f7b39d8124f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-12-23 22:18:10 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-12-23 22:18:10 +0000

    cad/netgen: don't set -march=native
---
 cad/netgen/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cad/netgen/Makefile b/cad/netgen/Makefile
index 2f1e790f9442..c4b15fd82dc5 100644
--- a/cad/netgen/Makefile
+++ b/cad/netgen/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	netgen
 PORTVERSION=	6.2.2105
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	cad
 
@@ -28,6 +29,8 @@ CFLAGS+=	-I${LOCALBASE}/include -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/un
 CXXFLAGS+=	-I${LOCALBASE}/include -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix
 LDFLAGS+=	-lexecinfo
 
+CMAKE_OFF=	USE_NATIVE_ARCH
+
 OPTIONS_DEFINE=	JPEG MPEG CGNS
 
 JPEG_DESC=	Enable snapshots using jpeg