diff -r -u mk/bsd.README mk/bsd.README
--- mk/bsd.README 2012-03-09 23:30:48.000000000 +0100
+++ mk/bsd.README 2012-03-09 23:50:21.000000000 +0100
# $FreeBSD: src/share/mk/bsd.README,v 1.28 2004/12/21 08:46:54 ru Exp $
This is the README file for the "include" files for the FreeBSD
-source tree. The files are installed in /usr/share/mk, and are by
+source tree. The files are installed in @PREFIX@/share/mk, and are by
convention, named with the suffix ".mk". These files store several
build options and should be handled with caution.
This file does not document bsd.port*.mk. They are documented in ports(7).
See also make(1), mkdep(1), style.Makefile(5) and `PMake - A
-Tutorial', located in /usr/share/doc/psd/12.make.
+Tutorial', located in @PREFIX@/share/doc/bsdmake/tutorial.asc.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
diff -r -u mk/bsd.cpu.mk mk/bsd.cpu.mk
--- mk/bsd.cpu.mk 2012-03-09 23:30:48.000000000 +0100
+++ mk/bsd.cpu.mk 2012-03-09 23:53:55.000000000 +0100
-# Handle aliases (not documented in make.conf to avoid user confusion
+# Handle aliases (not documented in bsdmake.conf to avoid user confusion
# between e.g. i586 and pentium)
. if ${MACHINE_ARCH} == "i386"
###############################################################################
# Logic to set up correct gcc optimization flag. This must be included
-# after /etc/make.conf so it can react to the local value of CPUTYPE
+# after @PREFIX@/etc/bsdmake.conf so it can react to the local value of CPUTYPE
# defined therein. Consult:
# http://gcc.gnu.org/onlinedocs/gcc/DEC-Alpha-Options.html
# http://gcc.gnu.org/onlinedocs/gcc/IA-64-Options.html
diff -r -u mk/bsd.doc.mk mk/bsd.doc.mk
--- mk/bsd.doc.mk 2012-03-09 23:30:48.000000000 +0100
+++ mk/bsd.doc.mk 2012-03-09 23:42:07.000000000 +0100
(cd ${.CURDIR}; spell ${SRCS} ) | sort | \
comm -23 - ${.CURDIR}/spell.ok > ${DOC}.spell
+BINDIR?= @PREFIX@/share/doc
diff -r -u mk/bsd.obj.mk mk/bsd.obj.mk
--- mk/bsd.obj.mk 2012-03-09 23:30:48.000000000 +0100
+++ mk/bsd.obj.mk 2012-03-09 23:51:14.000000000 +0100
# E.g. use `env MAKEOBJDIR=temp-obj make'