Fwd: ports Makefile for gitlab subdirs
Steve Wills
swills at FreeBSD.org
Tue Sep 8 01:45:28 UTC 2020
Hi,
On 9/7/20 12:28 PM, MR wrote:
> Hi,
> I want to migrate the kicad-devel port from github to gitlab.
> How should one handle the case if - like kicad - the project contains
> subgroups:
>
> like https://gitlab.com/kicad/code/kicad.git
>
> Specifying:
>
> GL_ACCOUNT= kicad
> GL_PROJECT= code/kicad
> GL_COMMIT= bd23d003d219cb513b01feb4d9763879c9248f53
>
> works for the download and extract but fails then:
>
> ...
> cd:
> /usr/ports/cad/kicad-devel/work/code/kicad-bd23d003d219cb513b01feb4d9763879c9248f53-bd23d003d219cb513b01feb4d9763879c9248f53:
> No such file or directory
> *** Error code 2
> ...
>
> This gets extracted:
> kicad-bd23d003d219cb513b01feb4d9763879c9248f53-bd23d003d219cb513b01feb4d9763879c9248f53/
>
Try adding this:
WRKSRC= ${WRKDIR}/${PORTNAME}-${GL_COMMIT}-${GL_COMMIT}
Steve
More information about the freebsd-ports
mailing list