pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
codex: convert clang dependency to tool dependency
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Tue Jan 27 10:39:12 2026 +0100
Changeset: 771e7686cb55861a8c26034c80da4fc086f31daf
Modified Files:
codex/Makefile
codex/TODO
Log Message:
codex: convert clang dependency to tool dependency
update TODO
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=771e7686cb55861a8c26034c80da4fc086f31daf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
codex/Makefile | 5 +++--
codex/TODO | 11 -----------
2 files changed, 3 insertions(+), 13 deletions(-)
diffs:
diff --git a/codex/Makefile b/codex/Makefile
index d2bdeccb1a..88da55908a 100644
--- a/codex/Makefile
+++ b/codex/Makefile
@@ -10,6 +10,9 @@ HOMEPAGE= https://github.com/openai/codex/
COMMENT= Lightweight coding agent that runs in your terminal
LICENSE= apache-2.0
+# bindgen (for rama-boring-sys) needs libclang
+TOOL_DEPENDS+= clang-[0-9]*:../../lang/clang
+
WRKSRC= ${WRKDIR}/codex-rust-v${PKGVERSION_NOREV}/codex-rs
USE_LANGUAGES= c
USE_TOOLS+= git pkg-config perl gmake
@@ -46,7 +49,5 @@ do-install:
.include "cargo-depends.mk"
.include "../../lang/rust/cargo.mk"
-# for rama-boring-sys
-.include "../../lang/clang/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/codex/TODO b/codex/TODO
index 1ded9cc79a..c7949be92c 100644
--- a/codex/TODO
+++ b/codex/TODO
@@ -1,12 +1 @@
Untested.
-
-Needs rust > 1.86:
-
-error[E0658]: `let` expressions in this position are unstable
- --> protocol/src/protocol.rs:335:24
- |
-335 | && let Some(tmpdir) = std::env::var_os("TMPDIR")
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
-
Home |
Main Index |
Thread Index |
Old Index