Problems with updating a port due to top directory in tarball

Kevin Oberman rkoberman at gmail.com
Thu Mar 4 00:00:52 UTC 2021


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? 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.

Thanks,
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-ports mailing list