Date: Thu, 04 Mar 2021 00:28:20 +0000 From: Pau Amma <pauamma@gundo.com> To: Kevin Oberman <rkoberman@gmail.com> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: Problems with updating a port due to top directory in tarball Message-ID: <d06817c14bf18c42327b68ba3ef5aa94@gundo.com> In-Reply-To: <CAN6yY1tb=b7JRuG-YbYV9Unw%2BST998xbGEEiE6HjOrN3k-k3Pw@mail.gmail.com> References: <CAN6yY1tb=b7JRuG-YbYV9Unw%2BST998xbGEEiE6HjOrN3k-k3Pw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-03-04 00:00, Kevin Oberman wrote: > I'm trying to update a port I maintain. Since I last updated, it moved > from > ISC to github and it uses unusual naming conventions. > > The distfile is "irrtoolset/archive/release-5.1.3.tar.gz". I can work > around this with a DIST_SUBDIR and DISTNAME, but when the extract takes > place, the top directory in the tarball is "irrtoolset-release-5.1.3". > Since this is not expected, patch fails. > > Is there a way to specify the name of the restore directory? Or to > rename > it after the extract phase? I'd use the post-extract target, but maybe there's a better way. > Since loading the "Porter's Handbook" as a > single file seems to not be an option any longer, it is harder to > search > through the whole thing, I may have missed an simple way to deal with > this. Have you tried https://docs.freebsd.org/en/books/porters-handbook/ ? It loads as a single file for me.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d06817c14bf18c42327b68ba3ef5aa94>