From owner-freebsd-ports Wed Oct 18 3:11: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (blizzard.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 73EC637B4CF; Wed, 18 Oct 2000 03:10:59 -0700 (PDT) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.109]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id e9IACXU16956; Wed, 18 Oct 2000 13:12:38 +0300 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.0/8.9.3) with ESMTP id e9IAAPi42689; Wed, 18 Oct 2000 13:10:25 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <39ED7704.F80B0D20@FreeBSD.org> Date: Wed, 18 Oct 2000 13:10:12 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Will Andrews Cc: Satoshi - Ports Wraith - Asami , bmah@FreeBSD.org, Neil Blakey-Milner , Akinori -Aki- MUSHA , 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] 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> <39E84F54.257664E5@FreeBSD.org> <20001014084551.O95891@puck.firepipe.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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