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:
parent
dca1abbc7f
commit
b2bb14d251
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=28527
1 changed files with 4 additions and 4 deletions
|
|
@ -4654,12 +4654,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
|
|
||||||
<programlisting>GNU_CONFIGURE= yes
|
<programlisting>GNU_CONFIGURE= yes
|
||||||
|
|
||||||
.if defined(WITHOUT_NLS)
|
.if !defined(WITHOUT_NLS)
|
||||||
CONFIGURE_ARGS+= --disable-nls
|
|
||||||
PLIST_SUB+= NLS="@comment "
|
|
||||||
.else
|
|
||||||
USE_GETTEXT= yes
|
USE_GETTEXT= yes
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-nls
|
||||||
|
PLIST_SUB+= NLS="@comment "
|
||||||
.endif</programlisting>
|
.endif</programlisting>
|
||||||
|
|
||||||
<para>The next item on your to-do list is to arrange so that
|
<para>The next item on your to-do list is to arrange so that
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue