Date: Fri, 5 Jan 2001 14:29:58 +0300 (MSK) From: Ilya Martynov <m_ilya@agava.com> To: Peter Pentchev <roam@orbitel.bg> Cc: <freebsd-ports@freebsd.org> Subject: Re: Is there any reason for FETCH_BEFORE_ARGS? Message-ID: <Pine.BSF.4.31.0101051416230.52070-100000@juil.domain> In-Reply-To: <20010105124725.D10329@ringworld.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
PP> [..skip..] PP> PP> > Except one port news/dnews all others actually doesn't need PP> > FETCH_BEFORE_ARGS (according man page of fetch). And I'm not sure if it is PP> > needed even for news/dnews. Maybe just remove FETCH_BEFORE_ARGS from ports PP> > Makefiles? PP> PP> I've asked this question before, the answer was that FETCH_BEFORE_ARGS PP> is still needed for 3.x's fetch(1). The fact is, all ports which PP> specify FETCH_BEFORE_ARGS should make this conditional on FreeBSD's PP> version. PP> PP> In your specific case, just put FETCH_BEFORE_ARGS='' on make's cmdline; PP> the Makefile overrides /etc/make.conf settings, so you can't just stick PP> it there :( Moreover some Makefiles has FETCH_BEFORE_ARGS+= instead FETCH_BEFORE_ARGS= so it is not possible to overide this settings at all :( After some thinking I've came up with such question: is it correct to use FETCH_BEFORE_ARGS at all? For example I have two URLs in MASTER_SITE_OVERRIDE in my make.conf. fetch(1) will first try to download files from there. Even if I have old version of fetch(1) it will not need (probably) -t or -b switches with these URLs. Switches specified in FETCH_BEFORE_ARGS should be actually set individually for each URL in port Makefile (if they are needed). -- Ilya Martynov AGAVA Software Company, http://www.agava.com 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?Pine.BSF.4.31.0101051416230.52070-100000>