diff --git a/share/Makefile b/share/Makefile index 8483c39ed3dc..e27be2d08698 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 07f755927a47..86c2ba4ddd04 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 a56c968f4d1b..324b7045b559 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 diff --git a/tools/tools/nanobsd/make.conf b/tools/tools/nanobsd/make.conf index 05c97abbf98f..442513dec149 100644 --- a/tools/tools/nanobsd/make.conf +++ b/tools/tools/nanobsd/make.conf @@ -13,6 +13,7 @@ NO_AUTHPF= NO_BLUETOOTH= NO_CVS= NO_CXX= +NO_DICT= NO_FORTRAN= NO_GAMES= NO_GCOV= @@ -49,7 +50,7 @@ PPP_NO_RADIUS= #CFGMASTER= ${.CURDIR}/nanobsd.etc # The flash image can be further customized scripts. -#CUSTOMIZE= comconsole nobeastie default +CUSTOMIZE= comconsole nobeastie default # The example customization script can be passwd a list of local # files or packages to be installed on the image.