Received: by mail.netbsd.org (Postfix, from userid 605) id 5E28084D1D; Mon, 15 Jan 2024 12:24:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8DFBF84D14 for ; Mon, 15 Jan 2024 12:24:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id L2Kunm7t1S7A for ; Mon, 15 Jan 2024 12:24:22 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id E0DD784CFE for ; Mon, 15 Jan 2024 12:24:21 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D241CFA42; Mon, 15 Jan 2024 12:24:21 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1705321461182920" MIME-Version: 1.0 Date: Mon, 15 Jan 2024 12:24:21 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/lang/rust To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20240115122421.D241CFA42@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1705321461182920 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Mon Jan 15 12:24:21 UTC 2024 Modified Files: pkgsrc/lang/rust: options.mk Log Message: rust: use system libunwind To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 pkgsrc/lang/rust/options.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1705321461182920 Content-Disposition: inline Content-Length: 901 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/rust/options.mk diff -u pkgsrc/lang/rust/options.mk:1.33 pkgsrc/lang/rust/options.mk:1.34 --- pkgsrc/lang/rust/options.mk:1.33 Thu Nov 16 09:49:12 2023 +++ pkgsrc/lang/rust/options.mk Mon Jan 15 12:24:21 2024 @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.33 2023/11/16 09:49:12 he Exp $ +# $NetBSD: options.mk,v 1.34 2024/01/15 12:24:21 adam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.rust PKG_SUPPORTED_OPTIONS+= rust-cargo-static rust-docs @@ -40,9 +40,10 @@ PKG_OPTIONS_LEGACY_OPTS+= rust-llvm:rust # .if empty(PKG_OPTIONS:Mrust-internal-llvm) BUILDLINK_API_DEPENDS.llvm+= llvm>=15 +.include "../../lang/libunwind/buildlink3.mk" .include "../../lang/llvm/buildlink3.mk" CONFIGURE_ARGS+= --enable-llvm-link-shared -#CONFIGURE_ARGS+= --llvm-libunwind=system +CONFIGURE_ARGS+= --llvm-libunwind=system CONFIGURE_ARGS+= --llvm-root=${BUILDLINK_PREFIX.llvm} .endif --_----------=_1705321461182920--