Hi Riccardo,

Am 25.04.2017 um 10:06 schrieb Riccardo Mottola via devel 
<[email protected]>:
> 
> Hi,
> 
> 
> Riccardo Mottola via devel wrote:
>> /opt/csw/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: 
>> No such file or directory
>> compilation terminated.
>> gmake[7]: *** [obj/xlib.obj/XGFont.m.o] Error 1
>> 
>> I searched for ftheader.h and couldn't find it indeed.
> 
> I correct myself: ftheader.h exist and is provided by freetype2:
> 
> /opt/csw/include/freetype2/freetype/config/ftheader.h
> 
> if I pass
> CONFIGURE_ARGS_5.9 += CFLAGS="$(CFLAGS) -I/opt/csw/include/freetype2"
> 
> or
> EXTRA_INC += $(includedir)/freetype2
> 
> why shouldn't this work and be enough?
> 
> What would be the preferred of the two variables to use, actually?

I would use
  EXTRA_CPPFLAGS += -I$(includedir)/freetype2

EXTRA_INC is super-old crap I inherited, I suggest not to use it.
Adding explicit to CONFIGURE is ugly and should only be done in an emergency ;-)


Best regrads

  — Dago

> 
> Thanks - Riccardo

--
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to