Date: Tue, 26 Mar 2002 14:45:30 +0200 From: Peter Pentchev <roam@ringlet.net> To: ports@FreeBSD.org Subject: Dependencies' list problem Message-ID: <20020326144530.E301@straylight.oblivion.bg>
next in thread | raw e-mail | index | archive | help
--pY3vCvL1qV+PayAL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 | fgre= p 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.. Fix? No idea :( G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If I had finished this sentence, --pY3vCvL1qV+PayAL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjygbWoACgkQ7Ri2jRYZRVPAagCgvxEJ+CPJ9YH/NRZliRzgDGG3 sNkAn0/VVRXZ4ETC4wkED1CDPKm3kVih =rQdU -----END PGP SIGNATURE----- --pY3vCvL1qV+PayAL-- 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?20020326144530.E301>