ports/math/sundials/files/patch-config_SundialsBlas.cmake
Yuri Victorovich 2a3f43cb6b New port: math/sundials: SUite of Nonlinear and DIfferential/ALgebraic Equation Solvers
This port was originally created by Pedro Giffuni. He offered me to take over it.
I updated it to 3.1.0, added many options, etc.

The option FCMIX is broken upstream, so it is not present in the port.

Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D13647
2017-12-27 07:47:30 +00:00

10 lines
373 B
CMake

--- config/SundialsBlas.cmake.orig 2017-11-07 23:47:45 UTC
+++ config/SundialsBlas.cmake
@@ -74,6 +74,7 @@ if(BLAS_LIBRARIES)
# Attempt to link the "ltest" executable
try_compile(LTEST_OK ${BlasTest_DIR} ${BlasTest_DIR}
+ LINK_DIRECTORIES ${FREEBSD_GCC_DIR}
ltest OUTPUT_VARIABLE MY_OUTPUT)
# To ensure we do not use stuff from the previous attempts,