git: c61eab1c098f - main - science/cp2k: Remove unnecessary patch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Aug 2024 02:05:43 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c61eab1c098f9111ebc1d0d5a19a22379c3ef796
commit c61eab1c098f9111ebc1d0d5a19a22379c3ef796
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-26 01:20:46 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-26 02:05:40 +0000
science/cp2k: Remove unnecessary patch
---
science/cp2k/Makefile | 1 -
science/cp2k/files/patch-src_base_machine.F | 11 -----------
2 files changed, 12 deletions(-)
diff --git a/science/cp2k/Makefile b/science/cp2k/Makefile
index 654f49522379..2a5c64abb998 100644
--- a/science/cp2k/Makefile
+++ b/science/cp2k/Makefile
@@ -33,7 +33,6 @@ MAKE_ARGS= XARCH=FreeBSD-gfortran VERSION=${VERSION} FC=gfortran${GCC_VERSION} C
DATA_DIR=${DATADIR}
FFLAGS+= -D__NO_STATM_ACCESS
-FCFLAGS+= -D__NO_STATM_ACCESS
BINARY_ALIAS= python=${PYTHON_CMD} python3=${PYTHON_CMD}
diff --git a/science/cp2k/files/patch-src_base_machine.F b/science/cp2k/files/patch-src_base_machine.F
deleted file mode 100644
index 6cb939e2f057..000000000000
--- a/science/cp2k/files/patch-src_base_machine.F
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/base/machine.F.orig 2024-08-25 22:12:03 UTC
-+++ src/base/machine.F
-@@ -337,7 +337,7 @@ CONTAINS
- ! __NO_STATM_ACCESS can be used to disable the stuff, if getpagesize
- ! lead to linking errors or /proc/self/statm can not be opened
- !
--#if defined(__NO_STATM_ACCESS)
-+#if 1 || defined(__NO_STATM_ACCESS)
- mem_local = 0
- #else
- INTEGER(KIND=int_8) :: m1, m2, m3