From 6495335e69d4b406fd3289836ad5463a72462371 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 21 Dec 2004 12:13:23 +0000 Subject: [PATCH] NOSHARE -> NO_SHARE --- Makefile.inc1 | 6 +++--- release/picobsd/build/picobsd | 2 +- share/examples/etc/make.conf | 2 +- share/man/man5/make.conf.5 | 2 +- share/mk/bsd.compat.mk | 1 + 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index cd38bdb8d84e..f758e94824c1 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -11,7 +11,7 @@ # -DNO_MAN do not build the manual pages # -DNO_PROFILE do not build profiled libraries # -DNO_GAMES do not go into games subdir -# -DNOSHARE do not go into share subdir +# -DNO_SHARE do not go into share subdir # -DNO_INFO do not make or install info files # -DNO_LIBC_R do not build libc_r. # -DNO_FORTRAN do not build g77 and related libraries. @@ -59,7 +59,7 @@ SUBDIR+=sbin .if !defined(NO_CRYPT) SUBDIR+=secure .endif -.if !defined(NOSHARE) +.if !defined(NO_SHARE) SUBDIR+=share .endif SUBDIR+=sys usr.bin usr.sbin etc @@ -876,7 +876,7 @@ bootstrap-tools: _aicasm= sys/modules/aic7xxx/aicasm .endif -.if !defined(NOSHARE) +.if !defined(NO_SHARE) _share= share/syscons/scrnmaps .endif diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd index 023201ff992b..ff6bf48fff8b 100755 --- a/release/picobsd/build/picobsd +++ b/release/picobsd/build/picobsd @@ -182,7 +182,7 @@ create_includes_and_libraries() { BINOWN=`id -un` BINGRP=`id -gn` \ DESTDIR=${l_usrtree}/.. \ make -m ${SRC}/share/mk \ - -DNO_HTML -DNO_INFO -DNO_MAN -DNOSHARE -DNO_FSCHG " + -DNO_HTML -DNO_INFO -DNO_MAN -DNO_SHARE -DNO_FSCHG " log "do a 'make obj' in a few places." # This is very version-specific... The following works for 5.0 for i in lib secure/lib gnu/lib usr.sbin/pcvt/keycap \ diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index cab2916916b8..dabb6509f945 100644 --- a/share/examples/etc/make.conf +++ b/share/examples/etc/make.conf @@ -137,7 +137,7 @@ #NO_PF= # do not build PF firewall package #NO_PROFILE= # Avoid compiling profiled libraries #NO_SENDMAIL= # do not build sendmail and related programs -#NOSHARE= # do not go into the share subdir +#NO_SHARE= # do not go into the share subdir #NO_SHARED= # build /bin and /sbin dynamically linked (bad idea #NO_SHAREDOCS= # do not build the 4.4BSD legacy docs #NO_TCSH= # do not build and install /bin/csh (which is tcsh) diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5 index 4090f5de0738..f2394bfcc688 100644 --- a/share/man/man5/make.conf.5 +++ b/share/man/man5/make.conf.5 @@ -565,7 +565,7 @@ Set to install man pages uncompressed. .It Va NO_PROFILE .Pq Vt bool Set to avoid compiling profiled libraries. -.It Va NOSHARE +.It Va NO_SHARE .Pq Vt bool Set to not build in the .Pa share diff --git a/share/mk/bsd.compat.mk b/share/mk/bsd.compat.mk index c6edb8baa402..d8651ab5949b 100644 --- a/share/mk/bsd.compat.mk +++ b/share/mk/bsd.compat.mk @@ -23,6 +23,7 @@ NOOBJ:NO_OBJ \ NOPIC:NO_PIC \ NOPROFILE:NO_PROFILE \ + NOSHARE:NO_SHARE \ NOSHARED:NO_SHARED \ NOTAGS:NO_TAGS .for old in ${oldnew:C/:.*//}