Date: Wed, 18 Oct 2000 13:10:12 +0300 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Will Andrews <will@physics.purdue.edu> Cc: Satoshi - Ports Wraith - Asami <asami@FreeBSD.org>, bmah@FreeBSD.org, Neil Blakey-Milner <nbm@mithrandr.moria.org>, Akinori -Aki- MUSHA <knu@idaemons.org>, freebsd-ports@FreeBSD.org, will@FreeBSD.org Subject: Re: PROPOSAL: Use @comment PLIST variable to track where installed packages came from [Was: Enhancement of pkg_version's version comparison routine] Message-ID: <39ED7704.F80B0D20@FreeBSD.org> References: <20000927002401.A73341@mithrandr.moria.org> <39D9D006.652DC258@FreeBSD.org> <20001003161027.B67542@mithrandr.moria.org> <39D9EE01.7A880665@FreeBSD.org> <200010031657.e93Gvtg10718@bmah-freebsd-0.cisco.com> <39DB17BB.12805565@FreeBSD.org> <200010060426.e964Qvx70814@bmah-freebsd-0.cisco.com> <39DE1A48.C7C8C9CF@FreeBSD.org> <vqc8zrx8nlp.fsf_-_@silvia.hip.berkeley.edu> <39E84F54.257664E5@FreeBSD.org> <20001014084551.O95891@puck.firepipe.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Will Andrews wrote: > On Sat, Oct 14, 2000 at 03:19:32PM +0300, Maxim Sobolev wrote: > > With this message I'm attaching slightly revised bsd.port.mk patch, which doesn't invoke separate > > processes (BTW, Will can you please extend our make(1) to let address words in variables using their > > numbers, something like ${SOMEVAR:123}?). > > You mean their substring number? I.e., if the string contains "blah1 > blah2 blah3 blha5 blah21" and you want ${SOMEVAR:4}, it returns "blha5", > right? > > That could easily be implemented, although I'm not sure about the > implications of such a feature. I'm not sure what do you mean "implications", but it would obviously help in certain cases when you have to extract Nth substring (like in my "pkgorigin" patch where I need to get first substring of CATEGORIES variable). -Maxim 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?39ED7704.F80B0D20>