From owner-cvs-ports Mon Nov 11 22:40:59 1996 Return-Path: owner-cvs-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA26369 for cvs-ports-outgoing; Mon, 11 Nov 1996 22:40:59 -0800 (PST) Received: from dfw-ix7.ix.netcom.com (dfw-ix7.ix.netcom.com [206.214.98.7]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id WAA26351; Mon, 11 Nov 1996 22:40:25 -0800 (PST) Received: from silvia.HIP.Berkeley.EDU (wck-ca13-06.ix.netcom.com [204.31.231.198]) by dfw-ix7.ix.netcom.com (8.6.13/8.6.12) with ESMTP id WAA10953; Mon, 11 Nov 1996 22:39:24 -0800 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.2/8.6.9) id WAA10258; Mon, 11 Nov 1996 22:39:21 -0800 (PST) Date: Mon, 11 Nov 1996 22:39:21 -0800 (PST) Message-Id: <199611120639.WAA10258@silvia.HIP.Berkeley.EDU> To: ache@nagual.ru CC: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-ports@freefall.freebsd.org In-reply-to: <199611120606.JAA00748@nagual.ru> (ache@nagual.ru) Subject: Re: cvs commit: ports/news/tin Makefile ports/news/tin/files md5 ports/news/tin/patches patch-aa From: asami@freebsd.org (Satoshi Asami) Sender: owner-cvs-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * > 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