From owner-cvs-all Thu Apr 15 2: 7:38 1999 Delivered-To: cvs-all@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 0A36D14EA6; Thu, 15 Apr 1999 02:07:33 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.2/8.9.1) id LAA22902; Thu, 15 Apr 1999 11:05:09 +0200 (CEST) (envelope-from des) To: "David E. O'Brien" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/mk Makefile References: <199904150719.AAA49596@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: 15 Apr 1999 11:05:09 +0200 In-Reply-To: "David E. O'Brien"'s message of "Thu, 15 Apr 1999 00:19:57 -0700 (PDT)" Message-ID: Lines: 34 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk "David E. O'Brien" writes: > Log: > Create /var/db/port.mkversion rather than /var/db/pkg/.mkversion to be in > sync with bsd.port.mk rev 1.309. IMHO, it's still completely bogus. The ports makefiles interpret the contents of port.mkversion as some kind of version number for the system makefiles, but all it actually tells you is when those files were last copied from one place to another. Hello, reality check? I can make world with sources as old as I like, and as long as port.mkversion is created the ports makefiles will happily chug along, secure in their misguided belief that I have the latest version of the system makefiles. I cannot for the bare life of me understand why this was not done the obvious way, i.e. by putting a version number *in* *the* *makefile* *itself*: PORTMKVERSION= 19990415 and checking it like this: .if defined(PORTMKVERSION) && $(PORTMKVERSION) >= 19990415 # system makefiles are new enough .else .BEGIN: @$(ECHO_MSG) "Your system makefiles are too old." .fi Furrfu. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message