Hi all,
${ARCH} in the release(8) manpage always bothered me somehow. Probably
it's because I do like copy&paste and I think introducing a variable
here is not useful as everybody willing to build from source should know
what $(uname -m) does:
Index: release.8
===================================================================
RCS file: /cvs/src/share/man/man8/release.8,v
retrieving revision 1.67
diff -u -r1.67 release.8
--- release.8 26 Nov 2013 17:53:22 -0000 1.67
+++ release.8 11 Feb 2014 21:25:18 -0000
@@ -127,11 +127,8 @@
To build a kernel the steps are:
.Pp
Change the current working directory.
-.Va ${ARCH}
-is the architecture of your machine, e.g.\&
-.Li i386 .
.Pp
-.Dl $ cd /usr/src/sys/arch/${ARCH}/conf
+.Dl $ cd /usr/src/sys/arch/$(uname -m)/conf
.Pp
Edit the kernel configuration file.
.Va ${NAME}
I do not know about anything besides i386 and amd64 but at least for
those architectures the above is working.
Thanks,
Frank.