ports/math/metis/files/patch-programs_CMakeLists.txt
Thierry Thomas 4291c7c5df Since the upgrade of math/suitesparse to 5.2.0, it depends unconditionnaly on
math/metis. Because math/metis and math/metis-edf are conflicting, this means
that the ports which depend on SuiteSparse and on metis-edf became BROKEN.

To solve this problem, this revision adds the missings includes brought by
metis-edf to metis.

Note for myself: if everything goes well, do not forget to deprecate the port
math/metis-edf in a near future.
2018-05-06 08:15:59 +00:00

17 lines
520 B
Text

--- programs/CMakeLists.txt.orig 2013-03-30 16:24:45 UTC
+++ programs/CMakeLists.txt
@@ -13,9 +13,14 @@ foreach(prog gpmetis ndmetis mpmetis m2g
# target_link_libraries(${prog} metis profiler)
endforeach(prog)
+# Borrowed from metis-edf
+file(GLOB metis_h *.h)
+
if(METIS_INSTALL)
install(TARGETS gpmetis ndmetis mpmetis m2gmetis graphchk cmpfillin
RUNTIME DESTINATION bin)
+# Borrowed from metis-edf
+ install(FILES ${metis_h} DESTINATION include/programs)
endif()
# Try to find subversion revision.