Don't install locale1.0 if MK_NLS == no.

The test locale1.0 depends on locale support; it is meaningless without a
working LC_MESSAGES.

I added an OptionalObsoleteFiles.inc entry.

PR:		181151
Submitted by:	Garrett Cooper (original version)
MFC after:	1 week
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Jilles Tjoelker 2014-07-08 21:50:13 +00:00
parent b301b9e28f
commit 725d072732
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268429
2 changed files with 5 additions and 2 deletions

View File

@ -99,7 +99,9 @@ FILES+= local1.0
FILES+= local2.0
FILES+= local3.0
FILES+= local4.0
.if ${MK_NLS} != "no"
FILES+= locale1.0
.endif
FILES+= printf1.0
FILES+= printf2.0
FILES+= printf3.0

View File

@ -3382,9 +3382,10 @@ OLD_FILES+=var/yp/Makefile
OLD_FILES+=var/yp/Makefile.dist
.endif
#.if ${MK_NLS} == no
.if ${MK_NLS} == no
OLD_FILES+=usr/tests/bin/sh/builtins/locale1.0
# to be filled in
#.endif
.endif
.if ${MK_NTP} == no
OLD_FILES+=etc/ntp.conf