Add MK_EE knob to control installing edit, ee, etc

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-01-25 00:03:44 +00:00
parent 82b6caf97a
commit 79a86dafb7
4 changed files with 27 additions and 1 deletions

View File

@ -73,6 +73,7 @@ __DEFAULT_YES_OPTIONS = \
DMAGENT \
DYNAMICROOT \
ED_CRYPTO \
EE \
ELFTOOLCHAIN_TOOLS \
EXAMPLES \
FDT \

View File

@ -1216,6 +1216,23 @@ OLD_FILES+=usr/share/dict/words
OLD_DIRS+=usr/share/dict
.endif
.if ${MK_EE} == no
OLD_FILES+=usr/bin/edit
OLD_FILES+=usr/bin/ee
OLD_FILES+=usr/bin/ree
OLD_FILES+=usr/share/man/man1/edit.1.gz
OLD_FILES+=usr/share/man/man1/ee.1.gz
OLD_FILES+=usr/share/man/man1/ree.1.gz
OLD_FILES+=usr/share/nls/C/ee.cat
OLD_FILES+=usr/share/nls/de_DE.ISO8859-1/ee.cat
OLD_FILES+=usr/share/nls/fr_FR.ISO8859-1/ee.cat
OLD_FILES+=usr/share/nls/hu_HU.ISO8859-2/ee.cat
OLD_FILES+=usr/share/nls/pl_PL.ISO8859-2/ee.cat
OLD_FILES+=usr/share/nls/pt_BR.ISO8859-1/ee.cat
OLD_FILES+=usr/share/nls/ru_RU.KOI8-R/ee.cat
OLD_FILES+=usr/share/nls/uk_UA.KOI8-U/ee.cat
.endif
.if ${MK_ELFTOOLCHAIN_TOOLS} == no
OLD_FILES+=usr/bin/elfcopy
OLD_FILES+=usr/share/man/man1/elfcopy.1.gz

View File

@ -0,0 +1,5 @@
.\" $FreeBSD$
Set to not build and install
.Xr edit 1 ,
.Xr ee 1 ,
and related programs.

View File

@ -40,7 +40,6 @@ SUBDIR= ${_addr2line} \
dirname \
dpv \
du \
ee \
elf2aout \
${_elfcopy} \
elfdump \
@ -240,6 +239,10 @@ SUBDIR+= calendar
_clang= clang
.endif
.if ${MK_EE} != "no"
SUBDIR+= ee
.endif
.if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
_addr2line= addr2line
_elfcopy= elfcopy