How to get pkgsrc to use builtin/native libraries?

Monica Vaida <[email protected]>
Newsgroups gmane.os.netbsd.general
Message-ID <CAKVUwhbwZ3p8=6U96+WepQKJyFsAO5U-KQvhuNT_1GYjEbThqA@mail.gmail.com>
Hello,





I am asking for help Sorry to bother you all, but I really can't
figure this one out!





I am attempting to build CDE on NetBSD/vax 11.0 . CDE seems to require
fontconfig, and it obviously requires Motif. Motif in turn requires
Xft2, which itself requires fontconfig. Building fontconfig is
impossible due to the Python dependency.





I would be able to build Motif if I could convince pkgsrc to use the
libXft included with the base system. For some reason, pkgsrc refuses.
I have checked the version numbers; `2.3.8nb1` is required, and `make
show-var VARNAME=BUILTIN_PKG.libXft` returns `2.3.9`. This should
work, right? `2.3.9` is greater than `2.3.8nb1`!





I've tried all sorts of things to get it to work, mostly editing
`mk.conf` over and over again. Here is my current version:


    DEPENDS_TARGET=bin-install

    UPDATE_TARGET=bin-install

    X11_TYPE= native

    PREFER_NATIVE= yes

    USE_BUILTIN.fontconfig= yes

    USE_BUILTIN.freetype2= yes

    USE_BUILTIN.libXft= yes

    PREFER_PKGSRC= no

    IS_BUILTIN.libXft=  yes

    BUILTIN_PKG.libXft= libXft-2.3.9

    USE_BUILTIN.libXft= yes


Thank you for your help!
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.