pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libreoffice build error



On Sun, Dec 15, 2019 at 10:34:55AM +0530, Mayuresh wrote:
> This issue sounds familiar and I recollect doing something to work around
> this, but not recollecting exactly what.
> 
> I think it had something to do with base version being older than pkg and
> the build process picking up base somehow.
> 
> checking for FONTCONFIG... no
> configure: error: Package requirements (fontconfig >= 2.4.1) were not met:
> 
> Package 'freetype2', required by 'fontconfig', not found

Is this part of the Makefile relevant to the above issue and if so how to
make use of the variability here?


CHECK_BUILTIN.freetype2:=       yes
.include "../../graphics/freetype2/builtin.mk"
CHECK_BUILTIN.freetype2:=       no
.if !empty(USE_BUILTIN.freetype2:M[Yy][Ee][Ss]) && \
        !empty(BUILTIN_VERSION.freetype2:M2.10.0)
CFLAGS+=                        -D_FT_CONST=
.else
CFLAGS+=                        -D_FT_CONST=const
.endif


Mayuresh


Home | Main Index | Thread Index | Old Index