aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2016-08-10 05:41:25 +0800
committerriggs <riggs@FreeBSD.org>2016-08-10 05:41:25 +0800
commit1ea4f25d4016c34649e9b09d5c306055e6e04645 (patch)
treec469d8ae4682f9038fbc5d6b88d43dec570b21f3 /lang
parentc53b2fffe057a9a8d7cbf5d1102fd8afc3b95b14 (diff)
downloadfreebsd-ports-gnome-1ea4f25d4016c34649e9b09d5c306055e6e04645.tar.gz
freebsd-ports-gnome-1ea4f25d4016c34649e9b09d5c306055e6e04645.tar.zst
freebsd-ports-gnome-1ea4f25d4016c34649e9b09d5c306055e6e04645.zip
Fix build with non-standard PREFIX
PR: 211686 Submitted by: mi
Diffstat (limited to 'lang')
-rw-r--r--lang/rust/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index e8f3c7f759b7..311603856b1c 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -60,6 +60,9 @@ USES= compiler gmake libedit python:2,build
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --disable-valgrind \
${CHOSEN_COMPILER_TYPE:Mclang:C/.+/--enable-&/} \
+ --prefix=${PREFIX} \
+ --musl-root=${PREFIX} \
+ --local-rust-root=${PREFIX} \
--mandir=${MANPREFIX}/man \
--release-channel=${RUST_CHANNEL}