From owner-freebsd-ports@freebsd.org Thu Sep 10 10:02:10 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 23D013D0947 for ; Thu, 10 Sep 2020 10:02:10 +0000 (UTC) (envelope-from mr@freebsd.org) Received: from app.eeeit.de (app.eeeit.de [188.68.43.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnDvP5jjSz3WDl; Thu, 10 Sep 2020 10:02:09 +0000 (UTC) (envelope-from mr@freebsd.org) Received: from localhost (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mike@reifenberger.com) by app.eeeit.de (Postfix) with ESMTPSA id E894F46ED9; Thu, 10 Sep 2020 12:02:01 +0200 (CEST) Received: from ipbcc2b3a3.dynamic.kabel-deutschland.de (ipbcc2b3a3.dynamic.kabel-deutschland.de [188.194.179.163]) by app.eeeit.de (Horde Framework) with HTTPS; Thu, 10 Sep 2020 10:02:01 +0000 Date: Thu, 10 Sep 2020 10:02:01 +0000 Message-ID: <20200910100201.Horde.zGWQ6U19NTPNhuRxUfTQ8T8@app.eeeit.de> From: MR To: Steve Wills Cc: freebsd-ports@freebsd.org Subject: Re: ports Makefile for gitlab subdirs References: <20200907162821.Horde.NTJbaj1qugb8s1mNbwRTseQ@app.eeeit.de> <84ac10ec-eb87-83cc-c5dd-2c2f13af5610@FreeBSD.org> In-Reply-To: <84ac10ec-eb87-83cc-c5dd-2c2f13af5610@FreeBSD.org> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BnDvP5jjSz3WDl X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:197540, ipnet:188.68.32.0/20, country:DE]; local_wl_from(0.00)[freebsd.org] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 10:02:10 -0000 Zitat von Steve Wills : > 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} > That did it. Thanks! > Steve -- greetings --- mike mr@freebsd.org