summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2017-03-01 23:35:05 +0000
committerasomers <asomers@FreeBSD.org>2017-03-01 23:35:05 +0000
commit2ff4be56765a499f6caa5fddde0c5f140da0927e (patch)
tree839f2f1623b0448aaa115cc90efc6f96c22e5f6b
parentaa59f36645df40c81b8c0bbbbe398edd16974160 (diff)
downloadFreeBSD-ports-2ff4be56765a499f6caa5fddde0c5f140da0927e.zip
FreeBSD-ports-2ff4be56765a499f6caa5fddde0c5f140da0927e.tar.gz
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
-rw-r--r--lang/rust-nightly/Makefile2
-rw-r--r--lang/rust/pkg-message12
2 files changed, 14 insertions, 0 deletions
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
+
+======================================================================
OpenPOWER on IntegriCloud