From owner-freebsd-doc@FreeBSD.ORG Wed Feb 27 00:30:01 2013 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DA9B2A89 for ; Wed, 27 Feb 2013 00:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id CD039D06 for ; Wed, 27 Feb 2013 00:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1R0U1K5017492 for ; Wed, 27 Feb 2013 00:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1R0U1IN017491; Wed, 27 Feb 2013 00:30:01 GMT (envelope-from gnats) Date: Wed, 27 Feb 2013 00:30:01 GMT Message-Id: <201302270030.r1R0U1IN017491@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Jason Helfman Subject: Re: docs/176455: [patch][book/porters-handbook] convert to optionsNG for NLS, fix a closed literal tag X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jason Helfman List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2013 00:30:01 -0000 The following reply was made to PR docs/176455; it has been noted by GNATS. From: Jason Helfman 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 @@ 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 +.endif +.include <bsd.port.mk> + 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 Makefile part of -- Jason Helfman FreeBSD Committer | http://people.freebsd.org/~jgh | The Power To Serve