From owner-freebsd-ports Tue Mar 26 7: 7:44 2002 Delivered-To: freebsd-ports@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 7936D37B405 for ; Tue, 26 Mar 2002 07:07:33 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id RAA57102; Tue, 26 Mar 2002 17:07:12 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h250.234.dialup.iptcom.net [212.9.234.250]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id RAA60351; Tue, 26 Mar 2002 17:07:09 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g2QF6bi28341; Tue, 26 Mar 2002 17:06:37 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3CA08ECB.2CD005C6@FreeBSD.org> Date: Tue, 26 Mar 2002 17:07:55 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Peter Pentchev Cc: ports@FreeBSD.org Subject: Re: Dependencies' list problem References: <20020326144530.E301@straylight.oblivion.bg> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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