Subject: Re: BUILDLINK_DEPENDS is ignored
To: Johnny C. Lam <jlam@NetBSD.org>
From: Min Sik Kim <minskim@NetBSD.org>
List: tech-pkg
Date: 02/19/2004 13:15:41
--Signature=_Thu__19_Feb_2004_13_15_41_-0600_XmMXflKThX2JAd2h
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
* Johnny C. Lam:
> On Thu, Feb 19, 2004 at 12:40:04PM -0600, Min Sik Kim wrote:
> >
> > In pkgsrc/fonts/Xft2, I got the followings.
> >
> > % make show-var VARNAME=BUILDLINK_DEPENDS.freetype2
> > freetype2>=2.1.3 freetype2>=2.1.3
> > % make show-var VARNAME=BUILDLINK_USE_BUILTIN.freetype2
> > yes
> > % make show-var VARNAME=_FREETYPE2_PKG
> > freetype2-2.1.0
> >
> > So, Xft2 is always linked against old freetype2 even though it
> > requires >=2.1.3. It's because fontconfig/buildlink3.mk enforces
> > using builtin freetype2 if builtin fontconfig is chosen.
> >
> > Shouldn't the package get what BUILDLINK_DEPENDS.* say?
>
> No, because in this situation, you could potentially be linking two
> different versions of libfreetype2.so into Xft2, which will just cause
> problems later on.
I'm not suggesting that Xft should be linked with builtin fontconfig
and pkgsrc freetype2. I think fontconfig/buildlink3.mk should check
whether any of the libraries it pulls in requires the pkgsrc version
before it decides to use builtin fontconfig.
--
Min Sik Kim
--
Min Sik Kim
--
Min Sik Kim
--Signature=_Thu__19_Feb_2004_13_15_41_-0600_XmMXflKThX2JAd2h
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iQEVAwUBQDULXfQsKR/Zi7L+AQLHmwf+NgCWlKzt17VFsJtJ763ZKbFszdsjQKfW
Ai1fmBNkSDLWzgxOaGO4GoWeCCXGMnvA6OhYF6zXiw+LXxcX4b/AfXxnvZBxYPwe
ZlLv5GwHdqpCFp5bKIX51Sgue5h+CC7PlSPnjLqKyOE4ECakcoSg5iq6xOvOJosz
SC4GphFjGRWxImtO9zhdmlohE06D9wUBzefYDkrvBqhovhHJRGaTvyT/EbDwVkP1
usXZbTE9fh5tU6WLZx2o96vYDr/B431vzZvIE+FiNJZz7iibqUBteXPdEN4CSPUa
vv8CYtH432D8Pr5OQEF17JdgQnKbn6N2iM51QLp7x2/5b/lP1+cASQ==
=+FZh
-----END PGP SIGNATURE-----
--Signature=_Thu__19_Feb_2004_13_15_41_-0600_XmMXflKThX2JAd2h--