From owner-cvs-all Wed Mar 10 2:53:56 1999 Delivered-To: cvs-all@freebsd.org Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by hub.freebsd.org (Postfix) with ESMTP id 82588150D5; Wed, 10 Mar 1999 02:53:28 -0800 (PST) (envelope-from ibex@emmi.physik.TU-Berlin.DE) Received: (from ibex@localhost) by emmi.physik.TU-Berlin.DE (8.9.2/8.9.2) id LAA44001; Wed, 10 Mar 1999 11:53:07 +0100 (CET) (envelope-from ibex) Date: Wed, 10 Mar 1999 11:53:06 +0100 From: Dirk Froemberg To: Satoshi Asami 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> References: <199903091127.DAA22246@freefall.freebsd.org> <19990309234904.A35636@physik.TU-Berlin.DE> <199903092252.OAA91301@silvia.hip.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199903092252.OAA91301@silvia.hip.berkeley.edu>; from Satoshi Asami on Tue, Mar 09, 1999 at 02:52:57PM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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