Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 1999 11:53:06 +0100
From:      Dirk Froemberg <dirk@FreeBSD.org>
To:        Satoshi Asami <asami@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/Mk bsd.port.mk
Message-ID:  <19990310115306.A43595@physik.TU-Berlin.DE>
In-Reply-To: <199903092252.OAA91301@silvia.hip.berkeley.edu>; from Satoshi Asami on Tue, Mar 09, 1999 at 02:52:57PM -0800
References:  <199903091127.DAA22246@freefall.freebsd.org> <19990309234904.A35636@physik.TU-Berlin.DE> <199903092252.OAA91301@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Satoshi!

On Tue, Mar 09, 1999 at 02:52:57PM -0800, Satoshi Asami wrote:
>  * It's broken for 3.1-RELEASE now...
> 
> ports-current never worked for releases very long. :)
> 
> People need to get the upgrade kits if they want to use ports-current
> for anything other than the latest -current or -stable.  If there is
> some documentation that suggests otherwise, please fix that.

Ok, but it doesn't work even if upgrade kit is installed. Let's try it the
other way round: Line 655-664 of bsd.ports.mk (in /usr/ports/Mk/ of
course) say:

.if exists(/usr/bin/fetch)
.if ${OSVERSION} < 300000
FETCH_CMD?=		/usr/bin/fetch
.else
FETCH_CMD?=		/usr/bin/fetch -A
.endif
#FETCH_BEFORE_ARGS+=	$${CKSIZE:+-S $$CKSIZE}
.else
FETCH_CMD?=		/usr/bin/ftp
.endif

3.1-RELEASE has a __FreeBSD_version of 310000. 310000 is not less than 300000.
So FETCH_CMD is set to "/usr/bin/fetch -A". But the 3.1-RELEASE fetch has
no -A flag. Boing! ;-)

At the moment there is no way to distinguish between 3.1-RELEASE and
3.1-STABLE via __FreeBSD_version. But we have to, since fetch behaves
differently.

	Best Regards Dirk

-- 
e-mail: dirk@FreeBSD.ORG


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?19990310115306.A43595>