Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Aug 2006 23:22:35 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: extract both bz2 and gz files from distfiles
Message-ID:  <14802724@bsam.ru>
In-Reply-To: <20060807152816.GA82788@lor.one-eyed-alien.net> (Brooks Davis's message of "Mon, 7 Aug 2006 10:28:16 -0500")
References:  <14817321@bsam.ru> <20060807152816.GA82788@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 7 Aug 2006 10:28:16 -0500 Brooks Davis wrote:
> On Mon, Aug 07, 2006 at 03:12:06AM +0400, Boris Samorodov wrote:

> > We have got a port (lang/gnat-gcc34) which has both bz2 and gz
> > distfiles. As for 5.x+ extracting is gone automagically. But not at
> > 4.x. Well, at 4.x extracting may be done for example, by using
> > USE_BZIP2 knob and doing gunzipping at after-extract:.
> > 
> > Does someone know a better solution?
> > Does we have examples at our ports?

> You could replicated the 4.x behavior with a dependancy on
> bsdtar from archivers/libarchive and set TAR=bsdtar.

Aha, that's it. Thanks, Brooks!


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



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