Subject: Re: Find out what buildlinks (or dependencies) are needed?
To: Jeremy C. Reed <email@example.com>
From: Johnny C. Lam <firstname.lastname@example.org>
Date: 05/24/2002 16:00:31
On Fri, May 24, 2002 at 01:15:39PM -0700, Jeremy C. Reed wrote:
> What is an easy way to find out what buildlinks (or dependencies) to
> For example, I have packaged cxunzip. It uses gnome but I haven't listed
> any dependencies in the working Makefile yet.
> I used:
> ldd `which cxunzip` | egrep 'pkg/|X11R6/' | cut -d" " -f 4 | cut -d"/" -f
> 5 | while read line ; do grep -l $line /var/db/pkg/*/+CONTENTS ; done |
> sort -u | cut -d"/" -f 5
> So I see it is using:
> Anyways, is there any easy way to find out what packages have
> buildlink.mk, etc.? Or does this always done manually?
I think this is just done manually at this point. Some of those
buildlink.mk files include other buildlink.mk files, so it's not necessary
to list all of them. In this particular case, gnome-libs/buildlink.mk
should include everything else.
-- Johnny Lam <email@example.com>