Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2000 16:20:39 -0700
From:      Jim Mock <jim@luna.cdrom.com>
To:        Dan Langille <dan@langille.org>
Cc:        ports@FreeBSD.ORG
Subject:   Re: xchat depends
Message-ID:  <20000428162038.C41443@luna.cdrom.com>
In-Reply-To: <200004282202.KAA20457@ducky.nz.freebsd.org>; from dan@langille.org on Sat, Apr 29, 2000 at 10:02:30AM %2B1200
References:  <200004282130.JAA20020@ducky.nz.freebsd.org>; <20000428144552.A2174@luna.cdrom.com> <200004282202.KAA20457@ducky.nz.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Apr 2000 at 10:02:30 +1200, Dan Langille wrote:
> On 28 Apr 00, at 14:45, Jim Mock wrote:
> > On Sat, 29 Apr 2000 at 09:31:05 +1200, Dan Langille wrote:
> > > On 28 Apr 00, at 14:22, Matthew Hunt wrote:
> > > > On Sat, Apr 29, 2000 at 08:55:56AM +1200, Dan Langille wrote:
> > > > 
> > > > I see libtool on the webpage:
> > > > 
> > > > http://www.freebsd.org/ports/devel.html
> > > > 
> > > > And in INDEX:
> > > > 
> > > > wopr:/usr/ports$ egrep ^libtool INDEX        
> > > > libtool-1.3.4|/usr/ports/devel/libtool|/usr/local|Generic shared
> > > > library support
> > > > script|/usr/ports/devel/libtool/pkg/DESCR|reg@FreeBSD.org|devel|||
> > > > 
> > > > INDEX is revision 1.273.
> > > > 
> > > > Am I missing something?
> > > 
> > > My point isn't that libtool isn't *somewhere* within the INDEX or 
> > > *somewhere* within the web pages.  My point is that libtool does
> > > not appear as a depend where I think it should appear.  Read on.
> > > 
> > > Look at http://www.freebsd.org/ports/irc.html#xchat-1.4.2 and
> > > note that libungif is listed under requires.  Now look at
> > > http://www.freebsd.org/ports/graphics.html#libungif-4.1.0 and note
> > > that libtool is a requires.
> > > 
> > > Why isn't libtool listed under xchat as a requires?
> > 
> > I'm not sure if I'm understanding what you're getting at, but I'll
> > try to give an explanation.  If you take notice of the xchat
> > Makefile, libungif isn't an explicit xchat dependency, but Imlib
> > is.  Imlib depends on libungif.  Imlib also depends on libtool.

[snip..]

> [dan@ducky:/usr/ports/irc/xchat] $ make -V BUILD_DEPENDS -V 
> LIB_DEPENDS
> bzip2:/usr/ports/archivers/bzip2 gmake:/usr/ports/devel/gmake
> gtk12.2:/usr/ports/x11-toolkits/gtk12  Imlib.5:/usr/ports/graphics/imlib 
> X11.6:/usr/ports/x11/XFree86
> 
> Compare the above to what's listed at 
> http://www.freebsd.org/ports/irc.html:
> 
>  XFree86-3.3.6, bzip2-0.9.5d, gettext-0.10.35, glib-1.2.7, gmake-3.78.1, 
> gtk-1.2.7, imlib-1.9.8, jpeg-6b, libungif-4.1.0, png-1.0.5, tiff-3.5.5
> 
> What's not listed int the make output is:
> 
> gettext-0.10.35, glib-1.2.7, jpeg-6b, libungif-4.1.0, png-1.0.5, tiff-3.5.5
> 
> Where did those depends come from?  They must be depends for other 
> ports listed in depends.

That'd be my guess, especially if you look at the other dependency's
Makefiles.

> So I assumed that the list on the webpage was being compiled by
> recursive calls to make on each of the requires.

That'd make sense.

> If you keep compiling the list of depends by doing the recursive
> calls, you eventually get the list as shown at 
> http://www.freebsd.org/ports/irc.html.  With the exception of libtool.
> 
> If the list on the webpage is compile through recursive calls to make, 
> then libtool should be listed.  If the list is not compiled in that 
> manner, how is the list compiled?

That would make sense, unless the list compilation ignores dependencies
defined in bsd.port.mk (such as libtool).  Notice that libtool isn't
defined the same way the other depends are, it's defined with 
USE_LIBTOOL instead.

As for how the list is generated, I'm not sure, though Wolfram could
probably shed some light on this.

- jim

-- 
- jim mock - walnut creek cdrom/freebsd test labs - jim@luna.cdrom.com -
- phone: 1.925.691.2800 x.3814 - fax: 1.925.674.0821 - jim@FreeBSD.org -
- editor - The FreeBSDzine - www.freebsdzine.org - jim@freebsdzine.org -


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000428162038.C41443>