Per the attached Calculix-cgx Makefile, I needed to modify it to indicate the OpenGL framework. I tried this:
CFLAGS = -O2 -Wall -Wno-narrowing \
-I./ \
-I/usr/include \
-I../../libSNL/src \
-I../../glut-3.5/src \
-I/usr/X11/include
LFLAGS = \
-framework OpenGL -lGL -lGLU \
-lX11 -lXi -lXmu -lXext -lXt -lSM -lICE \
-lm -lpthread
.
.
.
cgx: $(OLIB) $(OUTIL) $(OULIB)
g++ $(OULIB) $(OLIB) $(OUTIL) $(CFLAGS) $(LFLAGS) -o $@
This didn’t work. Is LDFlags appropriate here? There isn’t a config file so in
the portfile I pass the following @ pre-build:
pre-build {
build.args CC=${configure.cc} \
CXX=${configure.cxx}
}
Makefile
Description: Binary data
Mark Brethen [email protected]
