pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/rust-bindgen



Module Name:    pkgsrc
Committed By:   pin
Date:           Fri Sep 25 05:41:20 UTC 2026

Modified Files:
        pkgsrc/devel/rust-bindgen: Makefile

Log Message:
devel/rust-bindgen: add clang dependency

Use the clang-sys crate which reuqires clang at least as TOOL_DEPENDS.
Although, in this cases it looks for libclang at run time - reported by he@

Moreover, rust-bindgen no longer works with e.g. clang19, so require 21.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/rust-bindgen/Makefile

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

Modified files:

Index: pkgsrc/devel/rust-bindgen/Makefile
diff -u pkgsrc/devel/rust-bindgen/Makefile:1.6 pkgsrc/devel/rust-bindgen/Makefile:1.7
--- pkgsrc/devel/rust-bindgen/Makefile:1.6      Mon Sep  1 06:12:29 2025
+++ pkgsrc/devel/rust-bindgen/Makefile  Fri Sep 25 05:41:20 2026
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2025/09/01 06:12:29 adam Exp $
+# $NetBSD: Makefile,v 1.7 2026/09/25 05:41:20 pin Exp $
 
 DISTNAME=      rust-bindgen-0.72.1
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rust-lang/}
 GITHUB_TAG=    refs/tags/v${PKGVERSION_NOREV}
@@ -21,4 +22,6 @@ do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/target/release/bindgen ${DESTDIR}${PREFIX}/bin
 
 .include "../../lang/rust/cargo.mk"
+BUILDLINK_API_DEPENDS.cairo+=  clang>=21
+.include "../../lang/clang/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index