summaryrefslogtreecommitdiffstats
path: root/share/examples/etc
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2001-08-30 22:44:51 +0000
committeralex <alex@FreeBSD.org>2001-08-30 22:44:51 +0000
commit1b28c0b3578872bb4b42c4f04207e8d0a8d4c048 (patch)
tree95231063ab5b14bec041d37cd0b872a69e050cc4 /share/examples/etc
parentd7989a71f9890fed92149bf76637af86738631a4 (diff)
downloadFreeBSD-src-1b28c0b3578872bb4b42c4f04207e8d0a8d4c048.zip
FreeBSD-src-1b28c0b3578872bb4b42c4f04207e8d0a8d4c048.tar.gz
Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf as
discussed on the arch@ mailinglist (after repo-copy). sys.mk will .error if it finds /etc/defaults/make.conf but include it anyways (this is the same behaviour as with the make.conf.local removal). /usr/share/examples/etc/make.conf has BDEFLAGS commented out now, since it's only an example file. Adjust all textes that talk about make.conf or defaults/make.conf to match the new situation.
Diffstat (limited to 'share/examples/etc')
-rw-r--r--share/examples/etc/README.examples2
-rw-r--r--share/examples/etc/make.conf20
2 files changed, 12 insertions, 10 deletions
diff --git a/share/examples/etc/README.examples b/share/examples/etc/README.examples
index 4b27f66..b902723 100644
--- a/share/examples/etc/README.examples
+++ b/share/examples/etc/README.examples
@@ -28,7 +28,7 @@ locate.rc - confiuration file for locate(1)
login.access - configuration file for login(8) (see login.access(5))
login.conf - login class capabilities database (see login.conf(5))
mail.rc - systemwide initialization files for mail(1)
-make.conf - defines configuration variables for system builds
+make.conf - example configuration variables for system builds
manpath.config - configuration file for man(1)
modems - modem configuration database (see modems(5))
motd - sample Message of the Day
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 69bd12d..959979f 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -4,14 +4,16 @@
# make.conf(5) manual page, if necessary, which is located in
# src/share/man/man5/make.conf.5.
#
-# This file, if present, will be read by make (see /usr/share/mk/sys.mk).
-# It allows you to override macro definitions to make without changing
-# your source tree, or anything the source tree installs.
+# /etc/make.conf, if present, will be read by make (see
+# /usr/share/mk/sys.mk). It allows you to override macro definitions
+# to make without changing your source tree, or anything the source
+# tree installs.
#
# This file must be in valid Makefile syntax.
#
-# You have to find the things you can put here in the Makefiles and
-# documentation of the source tree.
+# There are additional things you can put into /etc/make.conf.
+# You have to find those in the Makefiles and documentation of
+# the source tree.
#
#
# The CPUTYPE variable controls which processor should be targetted for
@@ -53,10 +55,10 @@
# putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf. -Wconversion is not
# included here due to compiler bugs, eg: mkdir()'s mode_t argument.
#
-BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
- -Wcast-qual -Wchar-subscripts -Winline \
- -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
- -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
+#BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
+# -Wcast-qual -Wchar-subscripts -Winline \
+# -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
+# -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
#
# To compile just the kernel with special optimizations, you should use
# this instead of CFLAGS (which is not applicable to kernel builds anyway).
OpenPOWER on IntegriCloud