pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
stalwart: fix the build, install some files
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Wed Oct 15 22:59:36 2025 +0200
Changeset: 8852c028099c38e46ebfed7061a24e5ef72e9843
Modified Files:
stalwart/Makefile
stalwart/PLIST
Removed Files:
stalwart/TODO
Log Message:
stalwart: fix the build, install some files
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8852c028099c38e46ebfed7061a24e5ef72e9843
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
stalwart/Makefile | 9 ++++++---
stalwart/PLIST | 5 ++---
stalwart/TODO | 9 ---------
3 files changed, 8 insertions(+), 15 deletions(-)
diffs:
diff --git a/stalwart/Makefile b/stalwart/Makefile
index 02b658c0a2..503f96f69e 100644
--- a/stalwart/Makefile
+++ b/stalwart/Makefile
@@ -17,10 +17,13 @@ LICENSE= gnu-agpl-v3
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
-PKG_CC= clang
-PKG_CXX= clang++
+BUILDLINK_TRANSFORM+= rm:-lc++
-.include "../../mk/compiler/clang.mk"
+INSTALLATION_DIRS+= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/stalwart ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/stalwart-cli ${DESTDIR}${PREFIX}/bin
.include "cargo-depends.mk"
.include "../../lang/clang/buildlink3.mk"
diff --git a/stalwart/PLIST b/stalwart/PLIST
index 92ba51a2d7..1e63fda127 100644
--- a/stalwart/PLIST
+++ b/stalwart/PLIST
@@ -1,4 +1,3 @@
@comment $NetBSD$
-@comment TODO: to fill this file with the file listing:
-@comment TODO: 1. run "/usr/bin/make package"
-@comment TODO: 2. run "/usr/bin/make print-PLIST"
+bin/stalwart
+bin/stalwart-cli
diff --git a/stalwart/TODO b/stalwart/TODO
deleted file mode 100644
index 309babb61e..0000000000
--- a/stalwart/TODO
+++ /dev/null
@@ -1,9 +0,0 @@
- Compiling stalwart v0.13.4 (/scratch/wip/stalwart/work/stalwart-0.13.4/crates/main)
-error: linking with `cc` failed: exit status: 1
- |
- = note: "cc" "-Wl,-R<sysroot>/lib/libatomic" "-Wl,-L<sysroot>/lib/libatomic" "-m64" "/tmp/rustcROrxXJ/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/rustcROrxXJ/{libjemalloc_sys-0942cab33b538214.rlib,libliblzma_sys-bbffec8071e24ac4.rlib,liblibrocksdb_sys-26918908822c2a64.rlib,liblz4_sys-940141120c6be024.rlib,liblibz_sys-b2c36a1ee2bccf0d.rlib,libbzip2_sys-5593240f17343dda.rlib,libblake3-e520ffe44f96156b.rlib,libzstd_sys-ce87b7853e077d90.rlib,libring-0267280e821cc2dc.rlib}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-netbsd/lib/{libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lc++" "-lstdc++" "-lutil" "-lrt" "-lutil" "-lexecinfo" "-lexecinfo" "-lpthread" "-lrt" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lrt" "-lutil" "-lexecinfo" "-L" "/tmp/rustcROrxXJ/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/ring-875a4a3d713937f5/out" "-L" "/scratch/wip/stalwart/work/sta
lwart-0.13.4/target/release/build/ring-8dda986d9e2c0e16/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/zstd-sys-362b72bb766dacb8/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/blake3-24d495c00402ff3c/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/blake3-24d495c00402ff3c/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/librocksdb-sys-3999ec902f8c524e/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/librocksdb-sys-3999ec902f8c524e/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/bzip2-sys-aa099fb45197820d/out/lib" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/libz-sys-de112931b8ad8fe0/out/lib" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/libz-sys-de112931b8ad8fe0/out/lib" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/lz4-sys-fc95b2b9af4a1a38/out" "-L" "/s
cratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/liblzma-sys-9eaf7ec16a15d1f0/out" "-L" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/build/jemalloc-sys-d868c344708dd658/out/build/lib" "-o" "/scratch/wip/stalwart/work/stalwart-0.13.4/target/release/deps/stalwart-1d7f517b231f1a72" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all"
- = note: some arguments are omitted. use `--verbose` to show all linker arguments
- = note: ld: cannot find -lc++: No such file or directory
- ld: /scratch/wip/stalwart/work/stalwart-0.13.4/target/release/deps/stalwart-1d7f517b231f1a72.stalwart.5397ee45625647ac-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<tokio::net::udp::UdpSocket>':
- stalwart.5397ee45625647ac-cgu.0:(.text._ZN4core3ptr47drop_in_place$LT$tokio..net..udp..UdpSocket$GT$17hbb82290e28dcf334E+0xaa): warning: warning: reference to compatibility __kevent50(); use kevent()
- ld: /scratch/wip/stalwart/work/stalwart-0.13.4/target/release/deps/stalwart-1d7f517b231f1a72.stalwart.5397ee45625647ac-cgu.0.rcgu.o: note: the message above does not take linker garbage collection into account
Home |
Main Index |
Thread Index |
Old Index