From owner-freebsd-ports Fri Aug 22 03:57:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA01835 for ports-outgoing; Fri, 22 Aug 1997 03:57:25 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA01830 for ; Fri, 22 Aug 1997 03:57:22 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.7/8.6.9) id DAA06507; Fri, 22 Aug 1997 03:56:37 -0700 (PDT) Date: Fri, 22 Aug 1997 03:56:37 -0700 (PDT) Message-Id: <199708221056.DAA06507@silvia.HIP.Berkeley.EDU> To: fenner@parc.xerox.com CC: ports@freebsd.org In-reply-to: <97Aug21.171248pdt.177486@crevenia.parc.xerox.com> (message from Bill Fenner on Thu, 21 Aug 1997 17:12:35 PDT) Subject: Re: Versioning bsd.port.mk From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-freebsd-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * The port Makefile is exactly what depends on bsd.port.mk, which is why * I suggested putting it there. Using ${SH} in port Makefiles is what * started this thread. And not every port needs it -- only ports with * complex Makefiles that use newer bsd.port.mk files - another reason to * link the requirement with the Makefile. Well, I don't think it changes anything about where the variable goes, but it's not only the Makefile. We have things like pkg/MESSAGE added to bsd.port.mk at some time. The reason why I mentioned putting the variable in the Makefile was because people are already having a hard enough time remembering to commit all required files (how many times have you seen a "oops, forgot to update files/md5" message?). Having it in the Makefile itself would help avoid most of those. One thing that we can do is to have a target in bsd.port.mk to automatically update the Makefile (for lazy bones like me) but don't make that run by default; just make it optional (like "makesum") and warn/error if the versions don't match. People who don't want bsd.port.mk to update the Makefile can just edit it themselves. By the way, do we really agree that we should force this variable (modulo manual overrides, of course) to exactly match the timestamp of bsd.port.mk? Satoshi