pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu Feb 12 01:35:36 UTC 2026

Modified Files:
        pkgsrc/lang/rust: Makefile options.mk

Log Message:
rust: address some pkglint nits

(There are more, but these were low-hanging fruit.)


To generate a diff of this commit:
cvs rdiff -u -r1.353 -r1.354 pkgsrc/lang/rust/Makefile
cvs rdiff -u -r1.51 -r1.52 pkgsrc/lang/rust/options.mk

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

Modified files:

Index: pkgsrc/lang/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.353 pkgsrc/lang/rust/Makefile:1.354
--- pkgsrc/lang/rust/Makefile:1.353     Fri Feb  6 10:05:10 2026
+++ pkgsrc/lang/rust/Makefile   Thu Feb 12 01:35:36 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.353 2026/02/06 10:05:10 wiz Exp $
+# $NetBSD: Makefile,v 1.354 2026/02/12 01:35:36 gutteridge Exp $
 
 DISTNAME=      rustc-1.91.1-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -645,7 +645,8 @@ do-install:
 .endif
 
 .if ${MACHINE_PLATFORM:MNetBSD-*-i386}
-# Turn off Address space layout randomization
+USE_TOOLS+=    paxctl
+# Turn off address space layout randomization
 # so that we can build firefox natively:
 post-install:
        paxctl +a ${DESTDIR}${PREFIX}/bin/rustc

Index: pkgsrc/lang/rust/options.mk
diff -u pkgsrc/lang/rust/options.mk:1.51 pkgsrc/lang/rust/options.mk:1.52
--- pkgsrc/lang/rust/options.mk:1.51    Sun Jan 18 00:42:57 2026
+++ pkgsrc/lang/rust/options.mk Thu Feb 12 01:35:36 2026
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.51 2026/01/18 00:42:57 ryoon Exp $
+# $NetBSD: options.mk,v 1.52 2026/02/12 01:35:36 gutteridge Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.rust
 PKG_SUPPORTED_OPTIONS+=        rust-cargo-static rust-docs
@@ -65,14 +65,13 @@ GCC_REQD+=  14
 # Use the internal copy of LLVM or the external one?
 #
 .if empty(PKG_OPTIONS:Mrust-internal-llvm)
-BUILDLINK_API_DEPENDS.llvm+=   llvm>=18.0.0
 .include "../../lang/libunwind/buildlink3.mk"
 .include "../../lang/llvm/buildlink3.mk"
 CONFIGURE_ARGS+=       --enable-llvm-link-shared
 CONFIGURE_ARGS+=       --llvm-libunwind=system
 CONFIGURE_ARGS+=       --llvm-root=${BUILDLINK_PREFIX.llvm}
 # Also turn off build of the internal LLD, as the external LLVM
-# may be older (e.g. 18) than the internal LLD (now 19.x), ref.
+# may be older (e.g., 18) than the internal LLD (now 19.x), ref.
 # https://github.com/rust-lang/rust/issues/131291
 CONFIGURE_ARGS+=       --set rust.lld=false
 .endif
@@ -87,7 +86,6 @@ CONFIGURE_ARGS+=      --enable-cargo-native-s
 BUILDLINK_API_DEPENDS.nghttp2+= nghttp2>=1.41.0
 BUILDLINK_API_DEPENDS.curl+=   curl>=7.67.0
 .include "../../www/curl/buildlink3.mk"
-BUILDLINK_API_DEPENDS.openssl= openssl>=3
 RUSTFLAGS+=     -C link-arg=-L${BUILDLINK_PREFIX.openssl}/lib
 RUSTFLAGS+=     -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
 MAKE_ENV+=     RUSTFLAGS=${RUSTFLAGS:Q}



Home | Main Index | Thread Index | Old Index