Date: Tue, 26 Mar 2002 17:07:55 +0200 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Peter Pentchev <roam@ringlet.net> Cc: ports@FreeBSD.org Subject: Re: Dependencies' list problem Message-ID: <3CA08ECB.2CD005C6@FreeBSD.org> References: <20020326144530.E301@straylight.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev wrote: > > Hi, > > We've got a problem :) > > The ALL-DEPENDS-LIST variable that is defined in bsd.port.mk lists > (recursively) a port's dependencies, keeping a list of those processed > and only adding new ones when they are not already in the list. > > Or is that right? > > [roam@straylight:v1 /usr/ports/x11/gnomecore]$ make all-depends-list | fgrep gettext > /usr/ports/devel/gettext > /usr/ports/devel/gettext-old > [roam@straylight:v1 /usr/ports/x11/gnomecore]$ cd ../../devel/bonobo-conf/ > [roam@straylight:v1 /usr/ports/devel/bonobo-conf]$ make all-depends-list | fgrep gettext > /usr/ports/devel/gettext-old > [roam@straylight:v1 /usr/ports/devel/bonobo-conf]$ > > As you can see, devel/bonobo-conf, which depends on gnomecore, does NOT > list devel/gettext as a dependency. The reason? Simple: > ALL-DEPENDS-LIST uses ${GREP} -qwv (bsd.port.mk, line 3050), and grep(1) > treats '-' as a word separator, thus stating that 'devel/gettext' is > contained within 'devel/gettext-old' and need not be added to the list > of dependencies. > > How to repeat - either issue the commands above, or simply issue a > 'make fetch-recursive' in ports/mail/evolution and watch it NOT fetch > gettext-0.11.0.. You are wrong. bonobo-conf doesn't require gettext to build or run, but requires gettext-old to run properly. Evolution requires gettext for building and gettext-old for building and running, therefore you see what you see. -Maxim 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?3CA08ECB.2CD005C6>