Problems with updating a port due to top directory in tarball
Pau Amma
pauamma at gundo.com
Thu Mar 4 00:28:22 UTC 2021
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.
More information about the freebsd-ports
mailing list