Re: How to get pkgsrc to use builtin/native libraries?

RVP <[email protected]>
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Fri, 24 Apr 2026, Monica Vaida wrote:

> I applied your patch and did `make clean clean-depends`, but the
> compilation failed again. During the `./configure` step of the build I
> get these errors:
> ```
> checking for FcInit... yes
> Package freetype2 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `freetype2.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'freetype2', required by 'xft', not found
> Package freetype2 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `freetype2.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'freetype2', required by 'xft', not found
> checking jpeglib.h usability... yes
> ```
>

Did you install all the X11 sets during install?

-RVP

PS. You might need to force `libjpeg' to be used instead of `libjpeg-turbo'
'cause the latter compiles `cmake' to compile itself. Add something like this
to `/etc/mk.conf':

JPEG_DEFAULT=	jpeg

Ask on pkgsrc-users@ for fine tuning all this...

-RVP
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.