From owner-freebsd-ports Mon Aug 28 01:24:40 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id BAA11222 for ports-outgoing; Mon, 28 Aug 1995 01:24:40 -0700 Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id BAA11216 ; Mon, 28 Aug 1995 01:24:35 -0700 Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id BAA02373; Mon, 28 Aug 1995 01:24:29 -0700 To: asami@cs.berkeley.edu (Satoshi Asami) cc: paul@freebsd.org, ports@freebsd.org Subject: Re: Dependencies In-reply-to: Your message of "Mon, 28 Aug 1995 01:14:22 PDT." <199508280814.BAA03755@silvia.HIP.Berkeley.EDU> Date: Mon, 28 Aug 1995 01:24:29 -0700 Message-ID: <2371.809598269@time.cdrom.com> From: "Jordan K. Hubbard" Sender: ports-owner@freebsd.org Precedence: bulk > Sorry, I wasn't clear. I meant, "we don't know it the user installed > the dependency (via pkg_add | the ports)". Yes, it's always possible for the user to "sneak it in" through some manual process, but maybe we SHOULD start relying on pkg_info anyway! Totally Contrived Example: I need foomake v3.51 in order to compile /usr/ports/games/galacticGenocide and it lives in /usr/local/bin/foomake. HOWEVER, foomake v3.50 had a bad bug that makes it fall over with galacticGenocide's makefile, so it's not enough to simply check that /usr/local/bin/foomake is there, it has to be the correct version of it. With the current scheme, you're screwed. With a pkg_info reliant scheme, `pkg_info -e foomake3_50' will do the right thing. Jordan