Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2019 22:12:36 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518678 - in head: Mk/Uses lang/rust net-im/fractal sysutils/flowgger
Message-ID:  <201911292212.xATMCaxB077575@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Nov 29 22:12:35 2019
New Revision: 518678
URL: https://svnweb.freebsd.org/changeset/ports/518678

Log:
  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

Modified:
  head/Mk/Uses/cargo.mk
  head/lang/rust/Makefile
  head/net-im/fractal/Makefile
  head/sysutils/flowgger/Makefile

Modified: head/Mk/Uses/cargo.mk
==============================================================================
--- head/Mk/Uses/cargo.mk	Fri Nov 29 22:11:34 2019	(r518677)
+++ head/Mk/Uses/cargo.mk	Fri Nov 29 22:12:35 2019	(r518678)
@@ -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

Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile	Fri Nov 29 22:11:34 2019	(r518677)
+++ head/lang/rust/Makefile	Fri Nov 29 22:12:35 2019	(r518678)
@@ -35,8 +35,7 @@ IGNORE_FreeBSD_11_powerpc64=	is missing a bootstrap fo
 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

Modified: head/net-im/fractal/Makefile
==============================================================================
--- head/net-im/fractal/Makefile	Fri Nov 29 22:11:34 2019	(r518677)
+++ head/net-im/fractal/Makefile	Fri Nov 29 22:12:35 2019	(r518678)
@@ -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 \

Modified: head/sysutils/flowgger/Makefile
==============================================================================
--- head/sysutils/flowgger/Makefile	Fri Nov 29 22:11:34 2019	(r518677)
+++ head/sysutils/flowgger/Makefile	Fri Nov 29 22:12:35 2019	(r518678)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911292212.xATMCaxB077575>