freebsd-ports/math/octave-forge-mpi/files/patch-Makefile
Stephen Montgomery-Smith 39e3b28f5a math/octave-forge-mpi: New port.
Octave bindings for basic Message Passing Interface (MPI) functions for
parallel computing.
2022-11-07 23:31:59 -06:00

12 lines
447 B
Text

--- Makefile.orig 2019-03-06 23:19:54 UTC
+++ Makefile
@@ -1,7 +1,7 @@
MPICC ?= mpicxx
-OFMPIINC ?= $(shell $(MPICC) -showme:compile | sed -e "s/-pthread/ /g")
+OFMPIINC ?= $(shell $(MPICC) -compile_info | sed -e "s/c++ //g")
MPIINC := $(OFMPIINC)
-OFMPILIBS ?= $(shell $(MPICC) -showme:link | sed -e "s/-pthread/ /g")
+OFMPILIBS ?= $(shell $(MPICC) -link_info | sed -e "s/c++ //g")
MPILIBS := $(OFMPILIBS)
MKOCTFILE ?= mkoctfile