tech-pkg archive

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

Re: Making builtin fontconfig usable again on NetBSD (or, why libuuid bl3 is included in fontconfig bl3?)

On Fri, Jul 10, 2020 at 01:11:42PM +0200, Leonardo Taccari wrote:
> Thomas, do you recall why libuuid bl3 was added to fontconfig
> buildlink3? (cvs log does not seem to help)

I guess because it is linked into

# ldd work/.destdir/usr/pkg/lib/
        -lfreetype.19 => /usr/X11R7/lib/
        -lz.1 => /usr/lib/
        -lc.12 => /usr/lib/
        -lbz2.1 => /usr/lib/
        -lexpat.2 => /usr/lib/
        -luuid.1 => /usr/pkg/lib/
        -lintl.1 => /usr/lib/
        -lgcc_s.1 => /usr/lib/

The pkgconfig file claims it's a private dependency only though:

Requires.private:  uuid

so we might be able to just remove libuuid from the to fix

> If that libuuid bl3 inclusion is really needed on other platforms is it
> okay to commit the proposed patch in this email?

I don't understand this part (from your third email):

+.  if !empty(USE_BUILTIN.fontconfig:M[Nn][Oo]) && ${OPSYS} == "NetBSD"
 .include "../../devel/libuuid/"
+.  endif

libuuid needs to be included when fontconfig is used from pkgsrc,
independent of OPSYS.


Home | Main Index | Thread Index | Old Index