Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2013 16:25:02 -0800
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
Message-ID:  <20130227002502.GA63678@hatter>
In-Reply-To: <201302262230.r1QMU0vx088291@freefall.freebsd.org>
References:  <201302262223.r1QMN4rx088087@freefall.freebsd.org> <201302262230.r1QMU0vx088291@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130227002502.GA63678>