On Jul 12, 2017, at 14:27, Ken Cunningham wrote: > You could do this in the portfile: > > configure.cxxflags-append -stdlib=libc++ > configure.ldflags-append -stdlib=libc++ > > and your build should proceed through. Should. Usually works.
As I mentioned, some of the Makefile lines in question only use CFLAGS, not CXXFLAGS or LDFLAGS, and another uses none of them. The correct fix seems like it would be to edit the Makefile to use CXXFLAGS every time a C++ file is compiled.