From 2ff4be56765a499f6caa5fddde0c5f140da0927e Mon Sep 17 00:00:00 2001 From: asomers Date: Wed, 1 Mar 2017 23:35:05 +0000 Subject: lang/rust*: Advise users to mount procfs Add a pkg-message to these ports advising users to mount procfs to see backtraces. Reviewed by: dumbbell, riggs Approved by: dumbbell (ports) Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D9838 --- lang/rust-nightly/Makefile | 2 ++ lang/rust/pkg-message | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 lang/rust/pkg-message diff --git a/lang/rust-nightly/Makefile b/lang/rust-nightly/Makefile index f19cff1..8e14e57 100644 --- a/lang/rust-nightly/Makefile +++ b/lang/rust-nightly/Makefile @@ -23,6 +23,8 @@ GH_TUPLE= rust-lang:rust:282fa87 \ CONFLICTS_BUILD= rust # see FIXME in `pre-fetch` in lang/rust/Makefile CONFLICTS_INSTALL= rust +PKGMESSAGE= ${.CURDIR}/../rust/pkg-message + RUST_BOOTSTRAP_DIR= 2017-02-01 RUST_BOOTSTRAP_VERSION= beta diff --git a/lang/rust/pkg-message b/lang/rust/pkg-message new file mode 100644 index 0000000..2c45f13 --- /dev/null +++ b/lang/rust/pkg-message @@ -0,0 +1,12 @@ +====================================================================== + +Printing Rust backtraces requires procfs(5) mounted on /proc . +If you have not already done so, please do the following: + + mount -t procfs proc /proc + +To make it permanent, you need the following lines in /etc/fstab: + + proc /proc procfs rw 0 0 + +====================================================================== -- cgit v1.1