mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
lang/rust, Mk/Uses/cargo.mk: Drop gmake build dependency for backtrace-sys
The backtrace-sys crate no longer needs gmake since 0.1.20. sysutils/flowgger still uses backtrace-sys-0.1.14. Since it is the only USES=cargo port left that needs it, move the gmake dependency directly to it instead. lang/rust currently has backtrace-sys-0.1.30. It also vendors jemalloc-sys (which also needs gmake to build) but it is hidden behind rustc's jemalloc feature which we do not currently activate. It should be safe to remove gmake in lang/rust too. PR: 242267 Reported by: mikael.urankar@gmail.com
This commit is contained in:
parent
8e14bb800f
commit
24db7d8caa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518678
4 changed files with 5 additions and 7 deletions
|
@ -119,10 +119,6 @@ CARGO_TEST_ARGS+= --release
|
|||
CARGO_INSTALL_ARGS+= --debug
|
||||
.endif
|
||||
|
||||
.if ${CARGO_CRATES:Mbacktrace-sys-[0-9]*}
|
||||
BUILD_DEPENDS+= gmake:devel/gmake
|
||||
.endif
|
||||
|
||||
.if ${CARGO_CRATES:Mcmake-[0-9]*}
|
||||
BUILD_DEPENDS+= cmake:devel/cmake
|
||||
.endif
|
||||
|
|
|
@ -35,8 +35,7 @@ IGNORE_FreeBSD_11_powerpc64= is missing a bootstrap for FreeBSD 11.x powerpc64
|
|||
ONLY_FOR_ARCHS?= aarch64 amd64 armv6 armv7 i386 powerpc64
|
||||
ONLY_FOR_ARCHS_REASON= requires prebuilt bootstrap compiler
|
||||
|
||||
BUILD_DEPENDS= cmake:devel/cmake \
|
||||
gmake:devel/gmake
|
||||
BUILD_DEPENDS= cmake:devel/cmake
|
||||
LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
libgit2.so:devel/libgit2 \
|
||||
libssh2.so:security/libssh2
|
||||
|
|
|
@ -12,7 +12,7 @@ COMMENT= GTK+ Matrix IM client
|
|||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
# gmake for the backtrace-sys crate
|
||||
# gmake for the gettext-sys crate
|
||||
BUILD_DEPENDS= cargo:lang/${RUST_DEFAULT} \
|
||||
gmake:devel/gmake
|
||||
LIB_DEPENDS= libdbus-1.so:devel/dbus \
|
||||
|
|
|
@ -12,6 +12,9 @@ COMMENT= Fast data collector
|
|||
LICENSE= MPL20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
# for backtrace-sys < 0.1.24
|
||||
BUILD_DEPENDS= gmake:devel/gmake
|
||||
|
||||
USES= cargo ssl
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= jedisct1
|
||||
|
|
Loading…
Add table
Reference in a new issue