Date: Wed, 27 Feb 2013 00:30:01 GMT From: Jason Helfman <jgh@FreeBSD.org> To: freebsd-doc@FreeBSD.org Subject: Re: docs/176455: [patch][book/porters-handbook] convert to optionsNG for NLS, fix a closed literal tag Message-ID: <201302270030.r1R0U1IN017491@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR docs/176455; it has been noted by GNATS.
From: Jason Helfman <jgh@FreeBSD.org>
To: bug-followup@freebsd.org
Cc: freebsd-doc@freebsd.org
Subject: Re: docs/176455: [patch][book/porters-handbook] convert to optionsNG
for NLS, fix a closed literal tag
Date: Tue, 26 Feb 2013 16:25:02 -0800
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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302270030.r1R0U1IN017491>
