pkgsrc-WIP-changes archive

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

rust185: merge change from lang/rust



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Mar 31 20:50:55 2025 +0200
Changeset:	0b1aba249988225ae1dee2b6af5a41cb6ac5f63c

Modified Files:
	rust185/buildlink3.mk

Log Message:
rust185: merge change from lang/rust

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

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

diffstat:
 rust185/buildlink3.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diffs:
diff --git a/rust185/buildlink3.mk b/rust185/buildlink3.mk
index b8eeb79834..b8cd208042 100644
--- a/rust185/buildlink3.mk
+++ b/rust185/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2023/10/25 05:50:43 pin Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2025/03/31 16:38:43 jakllsch Exp $
 
 BUILDLINK_TREE+=	rust
 
@@ -12,6 +12,13 @@ RUST_BUILDLINK3_MK:=
 BUILDLINK_API_DEPENDS.rust+=	rust>=1.56.1
 BUILDLINK_PKGSRCDIR.rust?=	../../wip/rust
 BUILDLINK_PASSTHRU_DIRS+=	${PREFIX}/lib/rustlib
+
+pkgbase:= rust
+.include "../../mk/pkg-build-options.mk"
+.if empty(PKG_BUILD_OPTIONS.rust:Mrust-internal-llvm)
+.  include "../../lang/libunwind/buildlink3.mk"
+.endif
+
 .endif
 
 BUILDLINK_TREE+=	-rust


Home | Main Index | Thread Index | Old Index