svn commit: r530701 - head/science/elmerfem/files
Adriaan de Groot
adridg at FreeBSD.org
Sat Apr 4 18:11:57 UTC 2020
Author: adridg
Date: Sat Apr 4 18:11:46 2020
New Revision: 530701
URL: https://svnweb.freebsd.org/changeset/ports/530701
Log:
science/elmerfem fix build ahead of CMake 3.17.
This patch comes from upstream, but was mixed in with other
unrelated documentation changes.
Added:
head/science/elmerfem/files/patch-git-f02cb33acd59a32c41fe9f67367155e271c22ae8 (contents, props changed)
Added: head/science/elmerfem/files/patch-git-f02cb33acd59a32c41fe9f67367155e271c22ae8
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/elmerfem/files/patch-git-f02cb33acd59a32c41fe9f67367155e271c22ae8 Sat Apr 4 18:11:46 2020 (r530701)
@@ -0,0 +1,31 @@
+This is **part** of the GitHub commit, only the bit fixing the build:
+
+ CMake Error at fem/tests/CMakeLists.txt:17 (FOREACH):
+ FOREACH Invalid integer: 'depth'
+ Call Stack (most recent call first):
+ fem/tests/CMakeLists.txt:29 (SUBDIRLIST)
+
+
+From f02cb33acd59a32c41fe9f67367155e271c22ae8 Mon Sep 17 00:00:00 2001
+From: Foad Sojoodi Farimani <foad at Foads-MacBook-Pro.local>
+Date: Fri, 3 Apr 2020 22:25:02 +0200
+Subject: [PATCH] now compiles on macOS
+
+---
+ README.adoc | 49 ++++++++--------------------------------
+ fem/tests/CMakeLists.txt | 2 +-
+ 2 files changed, 11 insertions(+), 40 deletions(-)
+
+diff --git a/fem/tests/CMakeLists.txt b/fem/tests/CMakeLists.txt
+index e8bd7ed84..06d1168ea 100644
+--- fem/tests/CMakeLists.txt
++++ fem/tests/CMakeLists.txt
+@@ -14,7 +14,7 @@ SET(MESH2D_BIN "${CMAKE_BINARY_DIR}/meshgen2d/src/Mesh2D")
+
+ MACRO(SUBDIRLIST result curdir depth)
+ set(glob_pattern "*")
+- FOREACH(D RANGE 1 depth)
++ FOREACH(D RANGE 1 ${depth})
+ FILE(GLOB children RELATIVE ${curdir} ${glob_pattern})
+ FOREACH(child ${children})
+ IF(IS_DIRECTORY ${curdir}/${child})
More information about the svn-ports-all
mailing list