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
|
||||
|
||||
.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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue