Hi
I did not find an easy replacement for ldconfig. Therefore, I made some additional changes in the makefiles to enable the build with image formats:
diff -r grx249 3/src/makefile.osx grx249 2/src/makefile.osx 64a65,67
ADDON_LIBS += -L${prefix}/lib INCDIR += -I${prefix}/include
66a70
ADDON_LIBS += -ltiff
70a75
ADDON_LIBS += -ljpeg
76a82
ADDON_LIBS += -lpng
146c152 < $(CC) $(LDOPT) -dynamiclib -dylib_install_name,$(notdir $(GRX20SHna)) -o $(GRX20SHna) $(LO) $(X11LIBS) ---
$(CC) $(LDOPT) -dynamiclib -dylib_install_name,$(notdir $(GRX20SHna)) -o $(GRX20SHna) $(LO) $(X11LIBS) $(ADDON_LIBS)
diff -r grx249 3/test/bgi/makefile.osx grx249 2/test/bgi/makefile.osx 25c25 < ADDON_LIBS= ---
ADDON_LIBS=-L${prefix}/lib
diff -r grx249 3/test/makefile.osx grx249 2/test/makefile.osx 10c10 < INCDIR= -I../include ---
INCDIR= -I../include -I${prefix}/include
25c25 < ADDON_LIBS= ---
ADDON_LIBS=-L${prefix}/lib