mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
Notes: - I have (not yet) succeeded to enable MFront in this version; - it uses math/mumps-edf, repocopied from math/mumps; - cad/scotch is now taken out of the aster tarball; - french/eficas is no more used: to be replaced by "aster-study" in Salome_Meca (the port cad/salome should be resurrected!)
13 lines
435 B
Text
13 lines
435 B
Text
--- libmetis/CMakeLists.txt.orig 2016-04-12 14:52:48 UTC
|
|
+++ libmetis/CMakeLists.txt
|
|
@@ -5,6 +5,10 @@ file(GLOB metis_sources *.c)
|
|
file(GLOB libmetis_h *.h)
|
|
# Build libmetis.
|
|
add_library(metis ${METIS_LIBRARY_TYPE} ${GKlib_sources} ${metis_sources})
|
|
+# Patch borrowed from math/metis/files
|
|
+if(SHARED)
|
|
+ set_target_properties(metis PROPERTIES SOVERSION ${SHLIB_MAJOR})
|
|
+endif()
|
|
if(UNIX)
|
|
target_link_libraries(metis m)
|
|
endif()
|