Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2001 12:47:25 +0200
From:      Peter Pentchev <roam@orbitel.bg>
To:        Ilya Martynov <m_ilya@agava.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Is there any reason for FETCH_BEFORE_ARGS?
Message-ID:  <20010105124725.D10329@ringworld.oblivion.bg>
In-Reply-To: <Pine.BSF.4.31.0101051329260.51751-100000@juil.domain>; from m_ilya@agava.com on Fri, Jan 05, 2001 at 01:39:06PM %2B0300
References:  <Pine.BSF.4.31.0101051329260.51751-100000@juil.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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