summaryrefslogtreecommitdiff
path: root/science/atompaw
diff options
context:
space:
mode:
Diffstat (limited to 'science/atompaw')
-rw-r--r--science/atompaw/Makefile3
-rw-r--r--science/atompaw/files/patch-src_input__dataset__mod.F9011
2 files changed, 13 insertions, 1 deletions
diff --git a/science/atompaw/Makefile b/science/atompaw/Makefile
index 61ccc526fadb..5e23ebdb9006 100644
--- a/science/atompaw/Makefile
+++ b/science/atompaw/Makefile
@@ -1,6 +1,6 @@
PORTNAME= atompaw
DISTVERSION= 4.2.0.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= science
MASTER_SITES= http://users.wfu.edu/natalie/papers/pwpaw/
@@ -16,6 +16,7 @@ LIB_DEPENDS= liblapack.so:math/lapack \
USES= fortran gmake libtool
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-linalg-prefix=${LOCALBASE}
OPTIONS_DEFINE= DOCS LIBXC
OPTIONS_DEFAULT= LIBXC
diff --git a/science/atompaw/files/patch-src_input__dataset__mod.F90 b/science/atompaw/files/patch-src_input__dataset__mod.F90
new file mode 100644
index 000000000000..cca7d9e3d6ae
--- /dev/null
+++ b/science/atompaw/files/patch-src_input__dataset__mod.F90
@@ -0,0 +1,11 @@
+--- src/input_dataset_mod.F90.orig 2023-06-02 20:37:00 UTC
++++ src/input_dataset_mod.F90
+@@ -2097,7 +2097,7 @@ END IF
+ INTEGER :: input_unit,echo_unit
+ INTEGER :: i_all,i_dx,i_xmin,i_zmesh,i_range
+ LOGICAL :: has_to_echo
+- CHARACTER(200) :: inputline
++ CHARACTER(256) :: inputline
+ TYPE(input_dataset_t),POINTER :: dataset
+
+ !------------------------------------------------------------------