Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Mar 2021 10:19:23 +0900
From:      Hiroo Ono <hiroo.ono@gmail.com>
To:        <freebsd-ports@freebsd.org>
Subject:   Re: Problems with updating a port due to top directory in tarball
Message-ID:  <0538558a-880e-415d-8499-5b7ea05212e3@gmail.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=E5=B9=B43=E6=9C=884=E6=97=A5=E6=9C=A8=E6=9B=9C=E6=97=A5 9=E6=99=8200=E5=
=88=8632=E7=A7=92 JST, 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.

If it is same as what is tagged as "release-5.1.3",

DISTVERSIONPREFIX=3D=09release-
DISTVERSION=3D=095.1.3
USE_GITHUB=3D=09yes
GH_ACCOUNT=3D=09irrtoolset
GH_PROJECT=3D=09irrtoolset

should work.
cf.=20
https://docs.freebsd.org/en_US.ISO8859-1/books/porters-handbook/makefile-dist=
files.html#makefile-master_sites-github-description




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0538558a-880e-415d-8499-5b7ea05212e3>