From owner-freebsd-ports Sat Jul 1 03:44:35 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA12516 for ports-outgoing; Sat, 1 Jul 1995 03:44:35 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id DAA12510 ; Sat, 1 Jul 1995 03:44:32 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.11/8.6.9) id DAA04203; Sat, 1 Jul 1995 03:44:22 -0700 Date: Sat, 1 Jul 1995 03:44:22 -0700 Message-Id: <199507011044.DAA04203@silvia.HIP.Berkeley.EDU> To: rgrimes@gndrsh.aac.dev.com CC: ports@freebsd.org, jkh@freebsd.org In-reply-to: <199506291735.KAA11570@gndrsh.aac.dev.com> (rgrimes@gndrsh.aac.dev.com) Subject: Re: My wishlist From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@freebsd.org Precedence: bulk * Yea, right, forgot about all this mixed mode subdir stuff, this is another * good idea then! Sorry for going back on what I had before, but without * this other context it was a toss up. Ok.... * > It's ${DISTFILES}, note the plural. Also, do we want to do the check * > on every stage (fetch, checksum, extract)? If not, we'll have to * > remember the dir/file pair for every component of ${DISTFILES}. * _DISTFILE_USE: .USE * for i in ${DISTPATH}; do \ : * done; \ * if [ x"${found_it} != x"true" ]; then \ * ${MAKE} single_fetch; \ * fi; * * fetch checksum extract: _DISTFILE_USE * * Since this rolls all three similiar targets into one .USE subroutine * there is no duplicated code :-). There's no duplicated code but it still checks multiple times when the user types "make". Well, I guess that's ok.... I think I'll first try to convert the other targets using this .USE thing (the "skeleton" targets are pretty similar too) and see how it works. Thanks.... Satoshi