Add WITHOUT_NLS knob.

PR:	61836
Submitted by:	Palle Girgensohn (maintainer)
This commit is contained in:
Trevor Johnson 2004-02-05 12:59:14 +00:00
parent 6c2cc3d5fd
commit 88c894c573
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100046
2 changed files with 4 additions and 4 deletions

View file

@ -42,7 +42,7 @@ CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
USE_GETOPT_LONG=yes
.endif
.if !defined(WITHOUT_GETTEXT)
.if !(defined(WITHOUT_GETTEXT) || defined(WITHOUT_NLS))
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= GETTEXT=""
USE_GETTEXT= yes
@ -143,7 +143,7 @@ pre-everything::
@${ECHO} ""
@${ECHO} " WITHOUT_GNUGETOPT Don't install GNU getopt (will"
@${ECHO} " still be used if already installed)"
@${ECHO} " WITHOUT_GETTEXT Skips building with support for"
@${ECHO} " WITHOUT_NLS Skips building with support for"
@${ECHO} " internationalized error messages"
@${ECHO} " WITHOUT_SERVER Don't install the server,"
@${ECHO} " only install binaries, headers and libs"

View file

@ -42,7 +42,7 @@ CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
USE_GETOPT_LONG=yes
.endif
.if !defined(WITHOUT_GETTEXT)
.if !(defined(WITHOUT_GETTEXT) || defined(WITHOUT_NLS))
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= GETTEXT=""
USE_GETTEXT= yes
@ -143,7 +143,7 @@ pre-everything::
@${ECHO} ""
@${ECHO} " WITHOUT_GNUGETOPT Don't install GNU getopt (will"
@${ECHO} " still be used if already installed)"
@${ECHO} " WITHOUT_GETTEXT Skips building with support for"
@${ECHO} " WITHOUT_NLS Skips building with support for"
@${ECHO} " internationalized error messages"
@${ECHO} " WITHOUT_SERVER Don't install the server,"
@${ECHO} " only install binaries, headers and libs"