aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-05-22 00:10:44 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-05-22 00:10:44 +0000
commit6311239192f864a0803b3354687d8db8f015fbfe (patch)
tree61524465fb597c3fed2a505a3f5856d6111f40f3 /science
parent17cd2716cd27c7b8675f3acc7f6412b69a47ae5b (diff)
downloadports-6311239192f864a0803b3354687d8db8f015fbfe.tar.gz
ports-6311239192f864a0803b3354687d8db8f015fbfe.zip
science/tinker: don't set -march=native
Diffstat (limited to 'science')
-rw-r--r--science/tinker/Makefile1
-rw-r--r--science/tinker/files/patch-make_Makefile9
2 files changed, 10 insertions, 0 deletions
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