NetBSD-Users archive

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

How to get pkgsrc to use builtin/native libraries?



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!


Home | Main Index | Thread Index | Old Index