summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-04-13 10:02:58 +0000
committerphk <phk@FreeBSD.org>2005-04-13 10:02:58 +0000
commit82691535ee5ae34bb001a324b8a9fd4ddda369e9 (patch)
tree9bb3de74d59fc2bdafa212eaab34cef1dc8151a9 /share
parent4ea19165f615f65aeaea2eadd595f536e2237e0f (diff)
downloadFreeBSD-src-82691535ee5ae34bb001a324b8a9fd4ddda369e9.zip
FreeBSD-src-82691535ee5ae34bb001a324b8a9fd4ddda369e9.tar.gz
Add NO_DICT handle. Saves almost 3.5 MB installed.
Diffstat (limited to 'share')
-rw-r--r--share/Makefile6
-rw-r--r--share/examples/etc/make.conf1
-rw-r--r--share/man/man5/make.conf.53
3 files changed, 9 insertions, 1 deletions
diff --git a/share/Makefile b/share/Makefile
index 8483c39e..e27be2d 100644
--- a/share/Makefile
+++ b/share/Makefile
@@ -4,7 +4,7 @@
# Do not include `info' in the SUBDIR list, it is handled separately.
SUBDIR= colldef \
- dict \
+ ${_dict} \
${_doc} \
examples \
${_isdn} \
@@ -29,6 +29,10 @@ SUBDIR= colldef \
_isdn= isdn
.endif
+.if !defined(NO_DICT)
+_dict= dict
+.endif
+
.if !defined(NO_SENDMAIL)
_sendmail= sendmail
.endif
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 07f7559..86c2ba4 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -113,6 +113,7 @@
#NO_CRYPT= # do not build any crypto code
#NO_CVS= # do not build CVS
#NO_CXX= # do not build C++ and friends
+#NO_DICT= # do not build the Webster dictionary files
#NO_DYNAMICROOT= # do not link /bin and /sbin dynamically
#NO_FORTRAN= # do not build g77 and related libraries
#NO_GAMES= # do not build games (games/ subdir)
diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5
index a56c968..324b704 100644
--- a/share/man/man5/make.conf.5
+++ b/share/man/man5/make.conf.5
@@ -437,6 +437,9 @@ Set to not build CVS.
Set to not build
.Xr g++ 1
and related libraries.
+.It Va NO_DICT
+.Pq Vt bool
+Set to not build the Webster dictionary files.
.It Va NO_FORTRAN
.Pq Vt bool
Set to not build
OpenPOWER on IntegriCloud