From owner-freebsd-ports Fri Jan 5 2:48:41 2001 From owner-freebsd-ports@FreeBSD.ORG Fri Jan 5 02:48:40 2001 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id AECFF37B400 for ; Fri, 5 Jan 2001 02:48:36 -0800 (PST) Received: (qmail 23134 invoked by uid 1000); 5 Jan 2001 10:47:25 -0000 Date: Fri, 5 Jan 2001 12:47:25 +0200 From: Peter Pentchev To: Ilya Martynov Cc: freebsd-ports@freebsd.org Subject: Re: Is there any reason for FETCH_BEFORE_ARGS? Message-ID: <20010105124725.D10329@ringworld.oblivion.bg> Mail-Followup-To: Ilya Martynov , freebsd-ports@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from m_ilya@agava.com on Fri, Jan 05, 2001 at 01:39:06PM +0300 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Jan 05, 2001 at 01:39:06PM +0300, Ilya Martynov wrote: > Hi, > > I have > > FETCH_CMD= wget -t5 -Y off -c -np --passive-ftp > > in my make.conf. It works with most ports ok but recently I've met a problem > with one port - devel/boehm-gc. Looking at its makefile I've found > > FETCH_BEFORE_ARGS= -b > > 'man fetch' says that > > NOTES > The -b and -t options are no longer supported and will generate warnings. > They were workarounds for bugs in other OSes which this implementation > does not trigger. > > So it seems that this string is not needed in Makefile of this port. I've [snip ports list] > Except one port news/dnews all others actually doesn't need > FETCH_BEFORE_ARGS (according man page of fetch). And I'm not sure if it is > needed even for news/dnews. Maybe just remove FETCH_BEFORE_ARGS from ports > Makefiles? I've asked this question before, the answer was that FETCH_BEFORE_ARGS is still needed for 3.x's fetch(1). The fact is, all ports which specify FETCH_BEFORE_ARGS should make this conditional on FreeBSD's version. In your specific case, just put FETCH_BEFORE_ARGS='' on make's cmdline; the Makefile overrides /etc/make.conf settings, so you can't just stick it there :( G'luck, Peter -- What would this sentence be like if it weren't self-referential? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message