Skip site navigation (1)Skip section navigation (2)
Date:      15 Apr 1999 11:05:09 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        "David E. O'Brien" <obrien@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/share/mk Makefile
Message-ID:  <xzplnfuxni2.fsf@flood.ping.uio.no>
In-Reply-To: "David E. O'Brien"'s message of "Thu, 15 Apr 1999 00:19:57 -0700 (PDT)"
References:  <199904150719.AAA49596@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"David E. O'Brien" <obrien@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzplnfuxni2.fsf>