On Thu, Dec 24, 2009 at 12:22 PM, Stuart Henderson <[email protected]> wrote: > On 2009/12/24 11:28, Benoit Chesneau wrote: >> On Thu, Dec 24, 2009 at 11:14 AM, Stuart Henderson <[email protected]> >> wrote: >> > On 2009/12/24 10:13, Benoit Chesneau wrote: >> >> On Thu, Dec 24, 2009 at 10:09 AM, Landry Breuil <[email protected]> >> >> wrote: >> >> > On Thu, Dec 24, 2009 at 09:59:14AM +0100, Benoit Chesneau wrote: >> >> >> I try to force download of bzip2 rather than the tar.gz by using >> >> >> USE_BZIP2=Yes in the Makefile but it still fetch the tar.gz. >> >> > >> >> > You need EXTRACT_SUFX=.tar.bz2 >> >> > >> >> > Landry >> >> > >> >> >> >> Thanks. I guess man may be updated then :) >> > >> > USE_BZIP2 is in the "Obsolete variables" section. >> > >> > >> Right. But imo if it's isn't recognize anymore, > > It is still recognised, see infrastructure/mk/bsd.port.mk. > >> it should be removed >> or at least a short text should link to the new way, without that the >> only information we have (if didn't miss it) , is that it is obsolete >> which doesn't mean "not used anymore". > > The old way: > > USE_BZIP2=Yes > EXTRACT_SUFX=.tar.bz2 > > The new way: > > EXTRACT_SUFX=.tar.bz2 > > Both of these ways still work, but the old one is not needed any more > because the variable is set automatically when the distfile is .tar.bz2; > 'obsolete' is perfectly correct here. > >
ok thought USE_BZIP2 would be enough, my fault. Thanks for the info. - benoît
