pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/nextpnr
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.
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}
Home |
Main Index |
Thread Index |
Old Index