Date: Mon, 11 Nov 1996 22:39:21 -0800 (PST) From: asami@freebsd.org (Satoshi Asami) To: ache@nagual.ru Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-ports@freefall.freebsd.org Subject: Re: cvs commit: ports/news/tin Makefile ports/news/tin/files md5 ports/news/tin/patches patch-aa Message-ID: <199611120639.WAA10258@silvia.HIP.Berkeley.EDU> In-Reply-To: <199611120606.JAA00748@nagual.ru> (ache@nagual.ru)
next in thread | previous in thread | raw e-mail | index | archive | help
* > Do you mind if I replace the second line with a regular variable * > assignment to PKGNAME? This is causing me a lot of headaches when you * > do an upgrade, because I need to delete the old package and its name * > is not available anywhere in the above for cut & paste. ;) * * I do it to minimize typing too: now I change only * one number in distname, but with your variant I'll need to change * it in two places. Yeah, but you are already in your editor, it shouldn't be too much trouble to change both. I, on the other hand, can't do cut & paste easily and have to type it, and that really cuts into my productivity. Can you do me a favor please? I have a lot of ports to build every day, and this port (which is updated with an incredible rate) is starting to become a pain in the neck. Besides, this makes it harder to do a grep on PKGNAME. * Most complete way to not forget to change something is changing it * in one place only and let make substitutions do all other changes for you. I understand, didn't I write so in my mail? Now tell me: DISTNAME= foo-1996 PKGNAME= bar-1996 What is the realistic chance of you changing foo and forgetting to change bar accordingly? :) Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611120639.WAA10258>