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 &lt;bsd.port.options.mk&gt;
+
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=           yes
 PLIST_SUB+=            NLS=""
 .else
 CONFIGURE_ARGS+=       --disable-nls
 PLIST_SUB+=            NLS="@comment "
-.endif</programlisting>
+.endif
+.include &lt;bsd.port.mk&gt;</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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to