mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 23:00:30 -04:00
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
15 lines
687 B
CMake
15 lines
687 B
CMake
--- config/SundialsFortran.cmake.orig 2017-11-07 23:47:45 UTC
|
|
+++ config/SundialsFortran.cmake
|
|
@@ -51,9 +51,9 @@ if(CMAKE_Fortran_COMPILER)
|
|
(NOT "${ENV_FCFLAGS}" STREQUAL "") AND
|
|
("${CMAKE_Fortran_FLAGS}" STREQUAL ""))
|
|
# check if environment variables are equal
|
|
- IF (NOT "${ENV_FFLAGS}" STREQUAL "${ENV_FCFLAGS}")
|
|
- PRINT_ERROR("FFLAGS='${ENV_FFLAGS}' and FCFLAGS='${ENV_FCFLAGS}' are both set but are not equal.")
|
|
- ENDIF()
|
|
+ #IF (NOT "${ENV_FFLAGS}" STREQUAL "${ENV_FCFLAGS}")
|
|
+ # PRINT_ERROR("FFLAGS='${ENV_FFLAGS}' and FCFLAGS='${ENV_FCFLAGS}' are both set but are not equal.")
|
|
+ #ENDIF()
|
|
ENDIF()
|
|
|
|
# Enable the language for next steps
|