kazuakiyama / homebrew-pgplot

A homebrew formula for Caltech's PGPLOT, deprecated from brew-core
7 stars 4 forks source link

Fix for installation on macOS Ventura #2

Closed WWGolay closed 1 year ago

WWGolay commented 1 year ago

Hi @kazuakiyama, I'm working with @rmutel and ran into issues installing pgplot and difmap on MacOS Ventura (v13.0.1 on MacBook Pro M1). I managed to modify your scripts to allow for installation. The error is primarily due to the make files for both pgplot and difmap handing the C compiler GCC the OS version (seemingly pointlessly). Since the latest version of GCC doesn't understand an input of anything above 12.4.x, it breaks. I made modifications to check the current version and override the appropriate flag if necessary. This shouldn't impact anyone below Ventura. See the pull request on the difmap repository as well.

Cheers,

WWG

kazuakiyama commented 1 year ago

Just merged. Again, sorry that my response is extremely late.