Subject: Re: inclusion of x11.buildlink3.mk is missing?
To: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 06/10/2005 14:24:55
Kouichirou Hiratsuka wrote:
> 
> BTW, randrext, libiconv and zlib are installed by xorg-clients
> (with PREFER_PKGSRC=yes).  But I can't find +REQUIRED_BY file.
> 
> # cd /usr/pkgsrc/x11/xorg-clients && make PREFER_PKGSRC=yes
> [snip]
> ===> Required package randrext>=1.0: NOT found
> ===> Verifying reinstall for ../../x11/randrext
> [snip]
> ===> Required package libiconv>=1.9.1nb4: NOT found
> ===> Verifying reinstall for ../../converters/libiconv
> [snip]
> ===> Required package zlib>=1.2.1nb3: NOT found
> ===> Verifying reinstall for ../../devel/zlib
> [snip]
> # cd /var/db/pkg
> # ls randrext*/+REQUIRED_BY libiconv*/+REQUIRED_BY zlib*/+REQUIRED_BY
> ls: libiconv*/+REQUIRED_BY: No such file or directory
> ls: randrext*/+REQUIRED_BY: No such file or directory
> ls: zlib*/+REQUIRED_BY: No such file or directory
> #

Was an xorg-libs package built without PREFER_PKGSRC=yes already 
installed on your system when you ran this?  The packages you note above 
are actually dependencies of xorg-libs, but if you didn't build 
xorg-libs with PREFER_PKGSRC=yes, then the built-in versions of those 
packages will be used by xorg-libs[*].  However, the buildlink framework 
will still think that those packages need to be built when you run "make 
PREFER_PKGSRC=yes" for xorg-clients, even though xorg-libs is already 
present.

	Thanks,

	-- Johnny Lam <jlam@NetBSD.org>

[*] Except for randrext, which is only ever a build dependency as it 
only provides header files.