--- SuiteSparse_config/SuiteSparse_config.mk.orig 2018-03-15 07:38:22.000000000 -0700 +++ SuiteSparse_config/SuiteSparse_config.mk 2018-07-06 15:21:40.000000000 -0700 @@ -360,8 +360,8 @@ # command line in the Terminal, before doing 'make': # xcode-select --install CF += -fno-common - BLAS = -framework Accelerate - LAPACK = -framework Accelerate + BLAS ?= -framework Accelerate + LAPACK ?= -framework Accelerate # OpenMP is not yet supported by default in clang CFOPENMP = endif @@ -451,7 +451,7 @@ SO_PLAIN = $(LIBRARY).dylib SO_MAIN = $(LIBRARY).$(SO_VERSION).dylib SO_TARGET = $(LIBRARY).$(VERSION).dylib - SO_OPTS += -dynamiclib -compatibility_version $(SO_VERSION) \ + SO_OPTS += -dynamiclib -compatibility_version $(SO_VERSION) -install_name $(MACPORTS_PREFIX)/lib/$(SO_MAIN) \ -current_version $(VERSION) \ -shared -undefined dynamic_lookup # When a Mac *.dylib file is moved, this command is required