Index: Mk/bsd.xorg.mk =================================================================== --- Mk/bsd.xorg.mk +++ Mk/bsd.xorg.mk @@ -286,6 +286,11 @@ xxf86misc_LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xxf86misc.pc:x11/libXxf86misc xxf86vm_LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xxf86vm.pc:x11/libXxf86vm +.if ${USE_XORG:Mxft} +CFLAGS+= -I$(LOCALBASE)/include/freetype2 +CXXFLAGS+= -I$(LOCALBASE)/include/freetype2 +.endif + .for _module in ${USE_XORG:M*\:both:C/\:.*//g} . if ${XORG_MODULES:M${_module}} == "" IGNORE= requires unknown xorg module (${_module})