From owner-freebsd-ports Wed Dec 8 11:42:49 1999 Delivered-To: freebsd-ports@freebsd.org Received: from cichlids.com (as12-018.rp-plus.de [149.221.242.18]) by hub.freebsd.org (Postfix) with ESMTP id E856715A25 for ; Wed, 8 Dec 1999 11:42:45 -0800 (PST) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 6F2AAAB7F; Wed, 8 Dec 1999 20:43:05 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id UAA07224; Wed, 8 Dec 1999 20:43:12 +0100 (CET) (envelope-from alex) Date: Wed, 8 Dec 1999 20:43:12 +0100 From: Alexander Langer To: will andrews Cc: ports@FreeBSD.ORG Subject: Re: *_DEPENDS (Was Re: audio/gogo depends on nasm _0.98_ (!)) Message-ID: <19991208204312.A6959@cichlids.cichlids.com> Mail-Followup-To: will andrews , ports@FreeBSD.ORG References: <19991208153436.A3481@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from andrews@technologist.com on Wed, Dec 08, 1999 at 12:56:21PM -0500 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thus spake will andrews (andrews@technologist.com): > > What about a: > > BUILD_DEPENDS_EXEC= nasm -r | grep 'NASM version 0.98' > Better idea: > pkg_info -e ${BUILD_DEPENDS_EXEC} > BUILD_DEPENDS_EXEC= nasm-0.98 > No more problems now. Hmm. Nice. What about: BUILD_DEPENDS_EXEC= nasm-0.98:${PORTSDIR}devel/nasm which checks the existance with pkg_info? BTW: I'd like something like: BUILD_DEPENDS_EXEC= :${PORTSDIR}/some/port That is, because maybe a port depends on an apache-port that has PHP installed (as an _example_) and with it checks if PHP is installed (there are at least 3 ports that install PHP, so...) Other circumstances are easily to invent :-) What about this? of course you could do: BUILD_DEPENDS_EXEC= ${PKG_INFO} -e nasm-0.98:${PORTSDIR}/some/port or such. Or what about an additional option to pkg_info, that checks if _at least_ this version is installed or any higher version? BUILD_DEPENDS_EXEC= ${PKG_INFO} --is-bigger-than 0.98 nasm-*:... This is just an idea how it _could_ work. We need to make it perfect :) I have the ideas. I need comments. Alex -- I doubt, therefore I might be. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message