From owner-freebsd-ports Tue Mar 7 8: 0: 4 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ms.tokyo.jcom.ne.jp (ms.tokyo.jcom.ne.jp [210.234.123.18]) by hub.freebsd.org (Postfix) with ESMTP id 8F8A937BB9E for ; Tue, 7 Mar 2000 07:59:59 -0800 (PST) (envelope-from knu@idaemons.org) Received: from daemon.local.idaemons.org (pc343042.tokyo.jcom.ne.jp [203.140.143.42]) by ms.tokyo.jcom.ne.jp (8.9.1/3.7W 06/01/99) with ESMTP id AAA04051; Wed, 8 Mar 2000 00:58:17 +0900 (JST) Received: by daemon.local.idaemons.org (8.9.3/3.7W) id AAA97678; Wed, 8 Mar 2000 00:57:46 +0900 (JST) Date: Wed, 08 Mar 2000 00:57:44 +0900 Message-ID: <868zzusrgn.wl@archon.local.idaemons.org> From: "Akinori -Aki- MUSHA" To: dima@Chg.RU Cc: freebsd-ports@freebsd.org Subject: Re: ports/17245: Probably incorrect target handling in bsd.port.mk In-Reply-To: In your message of "Tue, 7 Mar 2000 17:26:48 +0300 (MSK)" <200003071426.RAA04183@netserv1.chg.ru> References: <200003071223.PAA01415@netserv1.chg.ru> <86aekasvwk.wl@archon.local.idaemons.org> <200003071426.RAA04183@netserv1.chg.ru> User-Agent: Wanderlust/2.2.18 (Please Forgive Me) EMIKO/1.13.12 (Euglena sociabilis) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) Organization: Associated I. Daemons MIME-Version: 1.0 (generated by EMIKO 1.13.12 - "Euglena sociabilis") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello... At Tue, 7 Mar 2000 17:26:48 +0300 (MSK), Dmitry Sivachenko wrote: > No, after 'install', target 'clean' is _not_ up to date again. > This is due to bsd.port.mk eliminates duplicate targets to speed up > 'make clean' in the ports, that have many dependencies. Sigh.. and you got another example here: $ cat Makefile a: touch a echo "a" b: rm a echo "b" See, after "b", "a" is expected to be _not_ up to date, so you may think doing "make a b a" will make "a" twice. But in reality, it works like this: $ make a b a touch a echo "a" a rm a echo "b" b By the way, have you _really_ verified that the problem is caused by the bsd.port.mk's update? Okay, I downgraded bsd.port.mk to 1.327 and tried "make clean install clean" with a certain port, then I confirmed that the second "clean" was uncommitted. Also, you should try "make reinstall deinstall reinstall", "make deinstall install deinstall", and/or whatever in the form "make a b a" to learn how make works. -- / /__ __ / ) ) ) ) / Akinori -Aki- MUSHA aka / (_ / ( (__( "If you choose not to decide you still have made a choice." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message