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:30:01 UTC 2013


The following reply was made to PR docs/176455; it has been noted by GNATS.

From: Jason Helfman <jgh at FreeBSD.org>
To: bug-followup at freebsd.org
Cc: freebsd-doc at 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


More information about the freebsd-doc mailing list