Date: Wed, 8 Dec 1999 20:43:12 +0100 From: Alexander Langer <alex@big.endian.de> To: will andrews <andrews@technologist.com> Cc: ports@FreeBSD.ORG Subject: Re: *_DEPENDS (Was Re: audio/gogo depends on nasm _0.98_ (!)) Message-ID: <19991208204312.A6959@cichlids.cichlids.com> In-Reply-To: <XFMail.991208125621.andrews@technologist.com>; from andrews@technologist.com on Wed, Dec 08, 1999 at 12:56:21PM -0500 References: <19991208153436.A3481@cichlids.cichlids.com> <XFMail.991208125621.andrews@technologist.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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= <command>:${PORTSDIR}/some/port That is, because maybe a port depends on an apache-port that has PHP installed (as an _example_) and with <command> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991208204312.A6959>