Received: by mail.netbsd.org (Postfix, from userid 605) id 5E07E84F50; Thu, 29 Feb 2024 03:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1709177292; bh=b8J9Ajm2EkBcx2UsFL3ZPjyCgnFq13OzB0dILn6a1+k=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=ZYHpHBswZsWt3UnwPhgB0RkZN4+277asYEsRK0K7f7vOS78hUQrHJCcCSYdPqxFWG n/Px3drSymANM04EXyGP8byIulxeTzCwV3L3/5ygfwM0mnDxrhphk0DWa9B/dVI8o8 U8qzrZbAu29deUlPb8F3elCpIBeKYhBoEepHDf/M= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E16DB84D84 for ; Thu, 29 Feb 2024 01:59:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id nZ9FXDHF4tgV for ; Thu, 29 Feb 2024 01:59:35 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 3453784CF8 for ; Thu, 29 Feb 2024 01:59:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1709171975; bh=b8J9Ajm2EkBcx2UsFL3ZPjyCgnFq13OzB0dILn6a1+k=; h=Date:From:Subject:To:Reply-To; b=eVJVuT1pIGmS/ibgSJ6Mx9hNW/dW7C6n7NofPGJkFM+WdHhSCm0eqKM8ebEhIDFKb iDq8PPIgkzztc1Djq/9qY+4ClWaZvaHBVORBrLkMUu6ArHKtCo/NeA6CSz4Bo98fqW E9cmHaUctmtNsSrOHO0Qv/SevcrLEHKy+WOkOkHo= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2A006FA27; Thu, 29 Feb 2024 01:59:35 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1709171975265110" MIME-Version: 1.0 Date: Thu, 29 Feb 2024 01:59:35 +0000 From: "Jason R Thorpe" Subject: CVS commit: pkgsrc/devel/nextpnr To: pkgsrc-changes@NetBSD.org Reply-To: thorpej@netbsd.org X-Mailer: log_accum Message-Id: <20240229015935.2A006FA27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1709171975265110 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: thorpej Date: Thu Feb 29 01:59:35 UTC 2024 Modified Files: pkgsrc/devel/nextpnr: nextpnr.mk Log Message: Two small fixes: - Explicitly set GITHUB_PROJECT so that downloads work correctly in the face of the other shenanigans engaged in due to how the nextpnr releases are tagged (this mistake was masked when I refactored this into nextpnr and nextpnr-ice40 by virtue of having already downloaded the distfile). - Pass -DCURRENT_GIT_VERSION=${NEXTPNR_VERSION} in the CMAKE_ARGS so that the binary has the correct version in the usage message. No revision bump since this doesn't change the meat of the package really. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/nextpnr/nextpnr.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1709171975265110 Content-Disposition: inline Content-Length: 945 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/nextpnr/nextpnr.mk diff -u pkgsrc/devel/nextpnr/nextpnr.mk:1.1 pkgsrc/devel/nextpnr/nextpnr.mk:1.2 --- pkgsrc/devel/nextpnr/nextpnr.mk:1.1 Wed Feb 28 06:31:57 2024 +++ pkgsrc/devel/nextpnr/nextpnr.mk Thu Feb 29 01:59:34 2024 @@ -1,10 +1,11 @@ -# $NetBSD: nextpnr.mk,v 1.1 2024/02/28 06:31:57 thorpej Exp $ +# $NetBSD: nextpnr.mk,v 1.2 2024/02/29 01:59:34 thorpej Exp $ NEXTPNR_VERSION=0.7 DISTNAME= nextpnr-${NEXTPNR_VERSION} PKGNAME= nextpnr-${NEXTPNR_TARGET}-${NEXTPNR_VERSION} CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=YosysHQ/} +GITHUB_PROJECT= nextpnr GITHUB_TAG= ${DISTNAME} WRKSRC= ${WRKDIR}/nextpnr-${DISTNAME} @@ -19,6 +20,7 @@ PATCHDIR?= ${.CURDIR}/../../devel/nextpn USE_LANGUAGES= c c++ USE_CMAKE= yes +CMAKE_ARGS+= -DCURRENT_GIT_VERSION=${NEXTPNR_VERSION} CMAKE_ARGS+= -DARCH=${NEXTPNR_TARGET} .if defined(NEXTPNR_TARGET_ARGS) CMAKE_ARGS+= ${NEXTPNR_TARGET_ARGS} --_----------=_1709171975265110--