Add NO_DICT handle. Saves almost 3.5 MB installed.

This commit is contained in:
Poul-Henning Kamp 2005-04-13 10:02:58 +00:00
parent f7251b07e2
commit d668f22a0c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145003
4 changed files with 11 additions and 2 deletions

View File

@ -4,7 +4,7 @@
# Do not include `info' in the SUBDIR list, it is handled separately. # Do not include `info' in the SUBDIR list, it is handled separately.
SUBDIR= colldef \ SUBDIR= colldef \
dict \ ${_dict} \
${_doc} \ ${_doc} \
examples \ examples \
${_isdn} \ ${_isdn} \
@ -29,6 +29,10 @@ SUBDIR= colldef \
_isdn= isdn _isdn= isdn
.endif .endif
.if !defined(NO_DICT)
_dict= dict
.endif
.if !defined(NO_SENDMAIL) .if !defined(NO_SENDMAIL)
_sendmail= sendmail _sendmail= sendmail
.endif .endif

View File

@ -113,6 +113,7 @@
#NO_CRYPT= # do not build any crypto code #NO_CRYPT= # do not build any crypto code
#NO_CVS= # do not build CVS #NO_CVS= # do not build CVS
#NO_CXX= # do not build C++ and friends #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_DYNAMICROOT= # do not link /bin and /sbin dynamically
#NO_FORTRAN= # do not build g77 and related libraries #NO_FORTRAN= # do not build g77 and related libraries
#NO_GAMES= # do not build games (games/ subdir) #NO_GAMES= # do not build games (games/ subdir)

View File

@ -437,6 +437,9 @@ Set to not build CVS.
Set to not build Set to not build
.Xr g++ 1 .Xr g++ 1
and related libraries. and related libraries.
.It Va NO_DICT
.Pq Vt bool
Set to not build the Webster dictionary files.
.It Va NO_FORTRAN .It Va NO_FORTRAN
.Pq Vt bool .Pq Vt bool
Set to not build Set to not build

View File

@ -13,6 +13,7 @@ NO_AUTHPF=
NO_BLUETOOTH= NO_BLUETOOTH=
NO_CVS= NO_CVS=
NO_CXX= NO_CXX=
NO_DICT=
NO_FORTRAN= NO_FORTRAN=
NO_GAMES= NO_GAMES=
NO_GCOV= NO_GCOV=
@ -49,7 +50,7 @@ PPP_NO_RADIUS=
#CFGMASTER= ${.CURDIR}/nanobsd.etc #CFGMASTER= ${.CURDIR}/nanobsd.etc
# The flash image can be further customized scripts. # 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 # The example customization script can be passwd a list of local
# files or packages to be installed on the image. # files or packages to be installed on the image.