Subject: Re: BUILDLINK_DEPENDS is ignored
To: Min Sik Kim <minskim@NetBSD.org>
From: Johnny C. Lam <jlam@buildlink.org>
List: tech-pkg
Date: 02/19/2004 19:10:29
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.
Cheers,
-- Johnny Lam <jlam@buildlink.org>