packmol: avoid passing -march=native to gfortran
Closes #120723. Signed-off-by: Rui Chen <rui@chenrui.dev> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
ca55650dec
commit
6f41be875b
|
@ -24,9 +24,12 @@ class Packmol < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
# Avoid passing -march=native to gfortran
|
||||
inreplace "Makefile", "-march=native", ENV["HOMEBREW_OPTFLAGS"] if build.bottle?
|
||||
|
||||
system "./configure"
|
||||
system "make"
|
||||
bin.install("packmol")
|
||||
bin.install "packmol"
|
||||
pkgshare.install "solvate.tcl"
|
||||
(pkgshare/"examples").install resource("examples")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue