summaryrefslogtreecommitdiff
path: root/science/tinker
diff options
context:
space:
mode:
Diffstat (limited to 'science/tinker')
-rw-r--r--science/tinker/Makefile1
-rw-r--r--science/tinker/distinfo6
-rw-r--r--science/tinker/files/patch-cmake_CMakeLists.txt15
-rw-r--r--science/tinker/files/patch-make_Makefile13
4 files changed, 21 insertions, 14 deletions
diff --git a/science/tinker/Makefile b/science/tinker/Makefile
index 9249e98239ef..5723eb9b39db 100644
--- a/science/tinker/Makefile
+++ b/science/tinker/Makefile
@@ -1,5 +1,6 @@
PORTNAME= tinker
DISTVERSION= 25.5
+PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= https://dasher.wustl.edu/tinker/downloads/
diff --git a/science/tinker/distinfo b/science/tinker/distinfo
index 327e627a7d9e..b452890259c0 100644
--- a/science/tinker/distinfo
+++ b/science/tinker/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1758258766
-SHA256 (tinker-25.5.tar.gz) = 01b50ad3680c0bfb77c77e4f9c653c47a39da1510286cb8a5dbc14f8f7b86d18
-SIZE (tinker-25.5.tar.gz) = 81152948
+TIMESTAMP = 1759481421
+SHA256 (tinker-25.5.tar.gz) = 10e24742d262a09a4b191eb73ef994cc8987e1e5e18ac7759420b36f07a02036
+SIZE (tinker-25.5.tar.gz) = 81137927
diff --git a/science/tinker/files/patch-cmake_CMakeLists.txt b/science/tinker/files/patch-cmake_CMakeLists.txt
new file mode 100644
index 000000000000..e4d2d621ed7f
--- /dev/null
+++ b/science/tinker/files/patch-cmake_CMakeLists.txt
@@ -0,0 +1,15 @@
+--- cmake/CMakeLists.txt.orig 2025-10-03 08:52:37 UTC
++++ cmake/CMakeLists.txt
+@@ -68,12 +68,6 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+
+ # Set compiler flags
+
+-if(APPLE)
+- set(ARCH_FLAGS "-mtune=native")
+-else()
+- set(ARCH_FLAGS "-march=native")
+-endif()
+-
+ if(WIN32)
+ if(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
+ set(CMAKE_Fortran_FLAGS_RELEASE "/O3 /QxHost /Qip- /Qprec-div- /w")
diff --git a/science/tinker/files/patch-make_Makefile b/science/tinker/files/patch-make_Makefile
index 4b7b308532ab..7e1f679a86a0 100644
--- a/science/tinker/files/patch-make_Makefile
+++ b/science/tinker/files/patch-make_Makefile
@@ -1,15 +1,6 @@
---- make/Makefile.orig 2024-05-04 16:08:28 UTC
+--- make/Makefile.orig 2025-09-30 16:25:57 UTC
+++ make/Makefile
-@@ -68,7 +68,7 @@ F77FLAGS = -c
-
- F77 = gfortran
- F77FLAGS = -c
--OPTFLAGS = -Ofast -march=native -fopenmp
-+OPTFLAGS = -Ofast $(PORT_SIMD_FLAGS) -fopenmp
- OPTFLAGS = -Ofast -fopenmp
- OPTFLAGS = -Og -g -fbacktrace -fcheck=bounds -Wunused -Wmaybe-uninitialized
- LIBDIR = -L. -L$(TINKER_LIBDIR)/linux -Wl,--no-as-needed -ldl
-@@ -829,138 +829,138 @@ rename_bin:
+@@ -813,138 +813,138 @@ rename_bin:
cat *.f *.c > tinker.txt
rename_bin: