Date: Tue, 8 Sep 2020 05:58:23 +0300 From: Sergei Vyhenski <svysh.fbsd@gmail.com> To: freebsd-ports@freebsd.org Subject: Re: Fwd: ports Makefile for gitlab subdirs Message-ID: <bb1e2686-a59c-af82-ab69-9f7bfd4f37be@gmail.com> In-Reply-To: <84ac10ec-eb87-83cc-c5dd-2c2f13af5610@FreeBSD.org> References: <20200907162821.Horde.NTJbaj1qugb8s1mNbwRTseQ@app.eeeit.de> <84ac10ec-eb87-83cc-c5dd-2c2f13af5610@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, This looks similar to WRKSRC poisoning for GH subdirs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246196 Please consider simple fix for Mk/bsd.port.mk, proposed there. Regards, Sergei On 08.09.2020 4:45, Steve Wills wrote: > 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 > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb1e2686-a59c-af82-ab69-9f7bfd4f37be>