docs/176455: [patch][book/porters-handbook] convert to optionsNG for NLS, fix a closed literal tag
Jason Helfman
jgh at FreeBSD.org
Wed Feb 27 00:28:22 UTC 2013
For completeness, here is the updated patch:
Index: book.xml
===================================================================
--- book.xml (revision 41051)
+++ book.xml (working copy)
@@ -5749,14 +5749,18 @@
<programlisting>GNU_CONFIGURE= yes
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
-.endif</programlisting>
+.endif
+.include <bsd.port.mk></programlisting>
+
<para>The next item on your to-do list is to arrange so that
the message catalog files are included in the packing list
conditionally. The <filename>Makefile</filename> part of
--
Jason Helfman
FreeBSD Committer | http://people.freebsd.org/~jgh | The Power To Serve
More information about the freebsd-doc
mailing list