On Mon, Oct 22, 2012 at 04:30:53PM +0200, Jörn Clausen wrote: > From my mk.conf: > > X11_TYPE = modular > > and /usr/pkg/include/X11/extensions/shm.h is present. Oh, good. Please try including xextproto/buildlink3.mk in cairo/Makefile and see if this changes anything. Thomas