<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Riccardo,<div class=""><br class=""></div><div class="">Am 25.04.2017 um 10:06 schrieb Riccardo Mottola via devel <<a href="mailto:devel@lists.opencsw.org" class="">devel@lists.opencsw.org</a>>:<div class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class=""><br class="">Riccardo Mottola via devel wrote:<br class=""><blockquote type="cite" class="">/opt/csw/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory<br class="">compilation terminated.<br class="">gmake[7]: *** [obj/xlib.obj/XGFont.m.o] Error 1<br class=""><br class="">I searched for ftheader.h and couldn't find it indeed. <br class=""></blockquote><br class="">I correct myself: ftheader.h exist and is provided by freetype2:<br class=""><br class="">/opt/csw/include/freetype2/freetype/config/ftheader.h<br class=""><br class="">if I pass<br class="">CONFIGURE_ARGS_5.9 += CFLAGS="$(CFLAGS) -I/opt/csw/include/freetype2"<br class=""><br class="">or<br class="">EXTRA_INC += $(includedir)/freetype2<br class=""><br class="">why shouldn't this work and be enough?<br class=""><br class="">What would be the preferred of the two variables to use, actually?<br class=""></div></div></blockquote><div><br class=""></div><div>I would use</div><div>  EXTRA_CPPFLAGS += -I$(includedir)/freetype2</div><div><br class=""></div><div>EXTRA_INC is super-old crap I inherited, I suggest not to use it.</div><div>Adding explicit to CONFIGURE is ugly and should only be done in an emergency ;-)</div><div><br class=""></div><div><br class=""></div><div>Best regrads</div><div><br class=""></div><div>  — Dago</div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">Thanks - Riccardo<br class=""></div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><span style="font-family: monospace; " class="">-- </span><br style="font-family: monospace; " class=""><span style="font-family: monospace; " class="">"You don't become great by trying to be great, you become great by wanting to do something,</span><br style="font-family: monospace; " class=""><span style="font-family: monospace; " class="">and then doing it so hard that you become great in the process." - xkcd #896</span></div></div>
</div>
<br class=""></div></div></body></html>