| Summary: | [patch][porters-handbook] convert to optionsNG for NLS, fix a closed literal tag | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Jason Helfman <jgh> | ||||
| Component: | Books & Articles | Assignee: | Eitan Adler <eadler> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | bapt | ||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Jason Helfman
2013-02-26 22:30:00 UTC
Please forgive me.... This was something that I was working on that hasn't be committed, I believe at this time.... The second blob does not need to be applied. -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh | The Power to Serve 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
Responsible Changed From-To: freebsd-doc->eadler I'll take it. Author: eadler Date: Wed Feb 27 21:23:54 2013 New Revision: 41053 URL: http://svnweb.freebsd.org/changeset/doc/41053 Log: Update to OptionsNG PR: docs/176455 Submitted by: jgh Approved by: bcr (mentor) Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/book.xml Wed Feb 27 20:38:17 2013 (r41052) +++ head/en_US.ISO8859-1/books/porters-handbook/book.xml Wed Feb 27 21:23:54 2013 (r41053) @@ -5749,13 +5749,17 @@ GNU_CONFIGURE= yes</programlisting> <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 _______________________________________________ svn-doc-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-doc-all To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed. Thanks! |