Make the example of using gettext optionally

suited to the fact that NLS is on by default.

Suggested by:	dougb
This commit is contained in:
Yaroslav Tykhiy 2006-08-24 10:17:12 +00:00
parent dca1abbc7f
commit b2bb14d251
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=28527

View file

@ -4654,12 +4654,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
<programlisting>GNU_CONFIGURE= yes
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif</programlisting>
<para>The next item on your to-do list is to arrange so that