summaryrefslogtreecommitdiff
path: root/math/sundials/files/patch-config_SundialsSuperLUMT.cmake
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2017-12-30 08:15:36 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2017-12-30 08:15:36 +0000
commitaa62378ce065850800eb81aa2f0a597d9f4c6662 (patch)
tree18883a13ab35d57c5348d06395b14a7d4e7571b3 /math/sundials/files/patch-config_SundialsSuperLUMT.cmake
parentNew port: www/py-lesscpy: Python LESS compiler (diff)
math/sundials: Changed to using <opt>_IMPLIES for HYPRE and PETSC options, and removed the .include clause
Submitted by: myself Reported by: jbeich Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13653
Diffstat (limited to 'math/sundials/files/patch-config_SundialsSuperLUMT.cmake')
-rw-r--r--math/sundials/files/patch-config_SundialsSuperLUMT.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/sundials/files/patch-config_SundialsSuperLUMT.cmake b/math/sundials/files/patch-config_SundialsSuperLUMT.cmake
new file mode 100644
index 000000000000..2b0a1670ab19
--- /dev/null
+++ b/math/sundials/files/patch-config_SundialsSuperLUMT.cmake
@@ -0,0 +1,11 @@
+--- config/SundialsSuperLUMT.cmake.orig 2017-12-28 04:44:39 UTC
++++ config/SundialsSuperLUMT.cmake
+@@ -61,7 +61,7 @@ if(SUPERLUMT_LIBRARY AND SUPERLUMT_LIBRA
+ "}\n")
+
+ # Attempt to link the "ltest" executable
+- try_compile(LTEST_OK ${SUPERLUMT_TEST_DIR} ${SUPERLUMT_TEST_DIR} ltest OUTPUT_VARIABLE MY_OUTPUT)
++ try_compile(LTEST_OK ${SUPERLUMT_TEST_DIR} ${SUPERLUMT_TEST_DIR} LINK_DIRECTORIES ${FREEBSD_GCC_DIR} ltest OUTPUT_VARIABLE MY_OUTPUT)
+
+ # To ensure we do not use stuff from the previous attempts,
+ # we must remove the CMakeFiles directory.