pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

zig-git: explicit version dependencies.



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Mon May 1 17:35:41 2023 +0200
Changeset:	565a0bbb3927f367de1312cf9c832f15ca7a900f

Modified Files:
	zig-git/Makefile
	zig-git/application.mk
	zig-git/buildlink3.mk

Log Message:
zig-git: explicit version dependencies.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=565a0bbb3927f367de1312cf9c832f15ca7a900f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 zig-git/Makefile       | 4 ++++
 zig-git/application.mk | 2 +-
 zig-git/buildlink3.mk  | 4 ++--
 3 files changed, 7 insertions(+), 3 deletions(-)

diffs:
diff --git a/zig-git/Makefile b/zig-git/Makefile
index cfec916172..3b464fe99d 100644
--- a/zig-git/Makefile
+++ b/zig-git/Makefile
@@ -28,6 +28,10 @@ BUILDLINK_TRANSFORM+=		rm:-Werror
 
 UNLIMIT_RESOURCES=	stacksize
 
+DEPENDS+=	llvm>=16.0.0:../../wip/llvm
+DEPENDS+=	lld>=16.0.0:../../wip/lld
+DEPENDS+=	clang>=16.0.0:../../wip/clang
+
 # \todo: There is currently an issue building this as a PIE
 MKPIE_SUPPORTED=	no
 CHECK_PIE_SKIP=		bin/zig
diff --git a/zig-git/application.mk b/zig-git/application.mk
index ac0832e295..0b9e557f82 100644
--- a/zig-git/application.mk
+++ b/zig-git/application.mk
@@ -25,7 +25,7 @@ ZIGCPUMODE?=		-Dcpu=baseline
 ZIGBUILDARGS?=
 ZIGTESTARGS?=
 
-BUILD_DEPENDS+=		zig-[0-9]*:../../lang/zig
+BUILD_DEPENDS+=		zig-git-[0-9]*:../../wip/zig-git
 USE_LANGUAGES=		c
 
 #MAKE_ENV+=		ZIG_GLOBAL_CACHE_DIR=${WRKSRC}/tmp
diff --git a/zig-git/buildlink3.mk b/zig-git/buildlink3.mk
index 4374007ddf..2e16c9e594 100644
--- a/zig-git/buildlink3.mk
+++ b/zig-git/buildlink3.mk
@@ -5,8 +5,8 @@ BUILDLINK_TREE+=	zig-git
 .if !defined(ZIG_GIT_BUILDLINK3_MK)
 ZIG_GIT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.zig-git+=	zig>=0.10.1
-BUILDLINK_ABI_DEPENDS.zig-git+=	zig>=0.10.1
+BUILDLINK_API_DEPENDS.zig-git+=	zig-git>=0.11.0
+BUILDLINK_ABI_DEPENDS.zig-git+=	zig-git>=0.11.0
 BUILDLINK_PKGSRCDIR.zig-git?=	../../wip/zig-git
 
 pkgbase := zig-git


Home | Main Index | Thread Index | Old Index