Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 17:35:03 -0800
From:      Jordan Hubbard <jkh@osd.bsdi.com>
To:        arch@FreeBSD.ORG, TrimYourCC@nuxi.com
Cc:        bright@wintelcom.net
Subject:   Re: NO MORE '-BETA'
Message-ID:  <20010316173503T.jkh@osd.bsdi.com>
In-Reply-To: <20010316164457.A57253@hub.freebsd.org>
References:  <20010316134349.K29888@fw.wintelcom.net> <20010316163748Z.jkh@osd.bsdi.com> <20010316164457.A57253@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> This doesn't solve the ports problem as ports maintainers cannot use
> bento for their own build testing.  To take this approach puts us back in
> the FORTRAN, punched cards, batch days.

Sure they can, they can either just brute-force set the release string
on their own machines as well or, since this is hardly rocket science,
they can use the mechanisms already provided.  From bsd.port.subdir.mk:

.if !defined(OSREL)
OSREL!= /usr/bin/uname -r | sed -e 's/[-(].*//'
.endif
.if !defined(OSVERSION)
.if exists(/sbin/sysctl)
OSVERSION!= /sbin/sysctl -n kern.osreldate
.else
OSVERSION!= /usr/sbin/sysctl -n kern.osreldate
.endif

As you can see, both OSREL and OSVERSION can be set in /etc/make.conf
or the command line to override the default setting.

Contrary to past belief, I'm also seeing that Satoshi doesn't like or
need to do the package building well in advance - he prefers to wait
until the last practical moment in order to get in all the changes he
can before rolling stuff off bento for "production" purposes.  The
ports collection is big!

- Jordan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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