git: 2a06cc66940c - main - net/mpifx: Update 1.2 -> 1.3

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 07 May 2022 17:11:34 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2a06cc66940c559801c8469188646d3838aa073b

commit 2a06cc66940c559801c8469188646d3838aa073b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-07 16:44:16 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-07 17:11:29 +0000

    net/mpifx: Update 1.2 -> 1.3
    
    Reported by:    portscout
---
 net/mpifx/Makefile                   |  4 +++-
 net/mpifx/distinfo                   |  6 +++---
 net/mpifx/files/patch-CMakeLists.txt | 16 ++++++++++++++++
 net/mpifx/pkg-plist                  |  1 +
 4 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/net/mpifx/Makefile b/net/mpifx/Makefile
index db7eb448aed5..90504ba9d2f9 100644
--- a/net/mpifx/Makefile
+++ b/net/mpifx/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mpifx
-DISTVERSION=	1.2
+DISTVERSION=	1.3
 CATEGORIES=	net devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -30,4 +30,6 @@ post-test: # run test programs # at least one test crashes, see https://github.c
 FFLAGS+=	-fallow-argument-mismatch
 .endif
 
+# tests fail to build: https://github.com/dftbplus/mpifx/issues/43
+
 .include <bsd.port.post.mk>
diff --git a/net/mpifx/distinfo b/net/mpifx/distinfo
index 19e5b73ec8f1..2f3eb30ebbc7 100644
--- a/net/mpifx/distinfo
+++ b/net/mpifx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642451768
-SHA256 (dftbplus-mpifx-1.2_GH0.tar.gz) = 1f02574856537ec58ebbf0312d951f24e41ea0ccf36b6ef9dccbb105fd04b50f
-SIZE (dftbplus-mpifx-1.2_GH0.tar.gz) = 58278
+TIMESTAMP = 1651940840
+SHA256 (dftbplus-mpifx-1.3_GH0.tar.gz) = b22edb940d4aa2233c0231c41de5049fa14b73619ab390c8873f31fd9920c48b
+SIZE (dftbplus-mpifx-1.3_GH0.tar.gz) = 60808
diff --git a/net/mpifx/files/patch-CMakeLists.txt b/net/mpifx/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..72db6801ff31
--- /dev/null
+++ b/net/mpifx/files/patch-CMakeLists.txt
@@ -0,0 +1,16 @@
+- https://github.com/dftbplus/mpifx/issues/44
+
+--- CMakeLists.txt.orig	2022-05-07 16:34:12 UTC
++++ CMakeLists.txt
+@@ -33,9 +33,11 @@ endif()
+ include(GNUInstallDirs)
+ 
+ add_subdirectory(lib)
++if (BUILD_TESTING)
+ if(NOT BUILD_EXPORTED_TARGETS_ONLY)
+   enable_testing()
+   add_subdirectory(test)
++endif()
+ endif()
+ 
+ #
diff --git a/net/mpifx/pkg-plist b/net/mpifx/pkg-plist
index a5b52b5c3830..a5b87c730650 100644
--- a/net/mpifx/pkg-plist
+++ b/net/mpifx/pkg-plist
@@ -19,6 +19,7 @@ include/mpifx/modfiles/mpifx_reduce_module.mod
 include/mpifx/modfiles/mpifx_scatter_module.mod
 include/mpifx/modfiles/mpifx_scatterv_module.mod
 include/mpifx/modfiles/mpifx_send_module.mod
+include/mpifx/modfiles/mpifx_win_module.mod
 lib/cmake/mpifx/mpifx-config-version.cmake
 lib/cmake/mpifx/mpifx-config.cmake
 lib/cmake/mpifx/mpifx-targets-%%CMAKE_BUILD_TYPE%%.cmake