summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-01-25 00:03:44 +0000
committerngie <ngie@FreeBSD.org>2015-01-25 00:03:44 +0000
commit20758e801e2b96a60ff0ac61ac87d47e9e935201 (patch)
tree56ec8a590d791e0fa8f8d27317e5f2c61413e294
parent58730a3555d007a8209b6467769a9bf14886e32c (diff)
downloadFreeBSD-src-20758e801e2b96a60ff0ac61ac87d47e9e935201.zip
FreeBSD-src-20758e801e2b96a60ff0ac61ac87d47e9e935201.tar.gz
Add MK_EE knob to control installing edit, ee, etc
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
-rw-r--r--share/mk/src.opts.mk1
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc17
-rw-r--r--tools/build/options/WITHOUT_EE5
-rw-r--r--usr.bin/Makefile5
4 files changed, 27 insertions, 1 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index f8adc30..b196e38 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -73,6 +73,7 @@ __DEFAULT_YES_OPTIONS = \
DMAGENT \
DYNAMICROOT \
ED_CRYPTO \
+ EE \
ELFTOOLCHAIN_TOOLS \
EXAMPLES \
FDT \
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 4f3b6e1..fe2897e 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -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
diff --git a/tools/build/options/WITHOUT_EE b/tools/build/options/WITHOUT_EE
new file mode 100644
index 0000000..721ddaa
--- /dev/null
+++ b/tools/build/options/WITHOUT_EE
@@ -0,0 +1,5 @@
+.\" $FreeBSD$
+Set to not build and install
+.Xr edit 1 ,
+.Xr ee 1 ,
+and related programs.
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 2e54cdf..7106db7 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -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
OpenPOWER on IntegriCloud