git: 6311239192f8 - main - science/tinker: don't set -march=native

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 22 May 2022 00:14:58 UTC
The branch main has been updated by pkubaj:

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

commit 6311239192f864a0803b3354687d8db8f015fbfe
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-05-22 00:10:44 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-05-22 00:10:44 +0000

    science/tinker: don't set -march=native
---
 science/tinker/Makefile                  | 1 +
 science/tinker/files/patch-make_Makefile | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/science/tinker/Makefile b/science/tinker/Makefile
index 9f8fd995244e..e460802bcbe7 100644
--- a/science/tinker/Makefile
+++ b/science/tinker/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	tinker
 DISTVERSION=	8.10.2
+PORTREVISION=	1
 CATEGORIES=	science
 MASTER_SITES=	https://dasher.wustl.edu/tinker/downloads/
 
diff --git a/science/tinker/files/patch-make_Makefile b/science/tinker/files/patch-make_Makefile
index 6d1bf05440b7..8e315337a050 100644
--- a/science/tinker/files/patch-make_Makefile
+++ b/science/tinker/files/patch-make_Makefile
@@ -1,5 +1,14 @@
 --- make/Makefile.orig	2022-01-13 23:40:10 UTC
 +++ make/Makefile
+@@ -68,7 +68,7 @@ APBS_LIBS = -lapbsmainroutines -lapbs -lmaloc -lapbsbl
+ 
+ F77 = gfortran
+ F77FLAGS = -c
+-OPTFLAGS = -Ofast -march=native -fopenmp
++OPTFLAGS = -Ofast -fopenmp
+ #OPTFLAGS = -Ofast -msse3 -fopenmp
+ #OPTFLAGS = -Og -fbacktrace -fcheck=bounds -Wunused -Wmaybe-uninitialized
+ LIBDIR = -L. -L$(TINKER_LIBDIR)/linux -Wl,--no-as-needed -ldl
 @@ -803,136 +803,136 @@ listing:
  	cat *.f *.c > tinker.txt