1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

net-im/fractal: respect RUSTFLAGS

Set RUSTFLAGS like Mk/Uses/cargo.mk does to respect CC and LDFLAGS.

PR:		257621
Approved by:	Greg V <greg@unrelenting.technology> (maintainer)
This commit is contained in:
Evgeniy Khramtsov 2021-08-04 15:43:13 +03:00 committed by Jan Beich
parent b237992a95
commit e6d430445e

View File

@ -31,7 +31,8 @@ INSTALLS_ICONS= yes
# for the gettext-sys crate
MAKE_ENV+= GETTEXT_BIN_DIR=${LOCALBASE}/bin \
GETTEXT_LIB_DIR=${LOCALBASE}/lib \
GETTEXT_INCLUDE_DIR=${LOCALBASE}/include
GETTEXT_INCLUDE_DIR=${LOCALBASE}/include \
RUSTFLAGS="${RUSTFLAGS} -C linker=${CC:Q} ${LDFLAGS:C/.+/-C link-arg=&/}"
post-patch:
# Disable vendor checksums