From 8febff707392c6ce420be720e30de24c0713436a Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 5 Jun 2014 18:53:56 +0000 Subject: [PATCH] Install VT support files They can be disabled by setting WITHOUT_VT_SUPPORT=yes in src.conf. Sponsored by: The FreeBSD Foundation --- etc/mtree/BSD.usr.dist | 6 ++++++ share/Makefile | 5 +++++ share/mk/src.opts.mk | 1 + tools/build/options/WITHOUT_VT_SUPPORT | 4 ++++ 4 files changed, 16 insertions(+) create mode 100644 tools/build/options/WITHOUT_VT_SUPPORT diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist index 940dacec3e7..9c707114855 100644 --- a/etc/mtree/BSD.usr.dist +++ b/etc/mtree/BSD.usr.dist @@ -1408,6 +1408,12 @@ catalog .. .. + vt + fonts + .. + keymaps + .. + .. zoneinfo Africa .. diff --git a/share/Makefile b/share/Makefile index 604e4169313..416a42de029 100644 --- a/share/Makefile +++ b/share/Makefile @@ -28,6 +28,7 @@ SUBDIR= ${_colldef} \ termcap \ ${_tests} \ ${_timedef} \ + ${_vt} \ ${_zoneinfo} # NB: keep these sorted by MK_* knobs @@ -85,6 +86,10 @@ _syscons= syscons _tests= tests .endif +.if ${MK_VT_SUPPORT} != "no" +_vt= vt +.endif + .if ${MK_ZONEINFO} != "no" _zoneinfo= zoneinfo .endif diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 4627443ce93..c6802853808 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -148,6 +148,7 @@ __DEFAULT_YES_OPTIONS = \ USB \ UTMPX \ VI \ + VT_SUPPORT \ WIRELESS \ WPA_SUPPLICANT_EAPOL \ ZFS \ diff --git a/tools/build/options/WITHOUT_VT_SUPPORT b/tools/build/options/WITHOUT_VT_SUPPORT new file mode 100644 index 00000000000..b517e0c5b48 --- /dev/null +++ b/tools/build/options/WITHOUT_VT_SUPPORT @@ -0,0 +1,4 @@ +.\" $FreeBSD$ +Set to not build +.Xr vt 4 +support files (fonts).