Framework: partially sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2019-09-17 08:32:01 +02:00
parent 53d4560063
commit 7b136238c5
2 changed files with 5 additions and 1 deletions

View File

@ -133,6 +133,10 @@ CARGO_ENV+= GETTEXT_BIN_DIR=${LOCALBASE}/bin \
GETTEXT_LIB_DIR=${LOCALBASE}/lib
.endif
.if ${CARGO_CRATES:Mjemalloc-sys-[0-9]*}
BUILD_DEPENDS+= gmake:devel/gmake
.endif
.for libc in ${CARGO_CRATES:Mlibc-[0-9]*}
# FreeBSD 12.0 changed ABI: r318736 and r320043
# https://github.com/rust-lang/libc/commit/78f93220d70e

View File

@ -52,7 +52,7 @@
#
# This variable must not be set by individual ports!
#
# MAINTAINER: dg@syrec.org
# MAINTAINER: dmgk@FreeBSD.org
.if !defined(_INCLUDE_USES_GO_MK)
_INCLUDE_USES_GO_MK= yes