From owner-freebsd-doc@FreeBSD.ORG Wed Feb 27 00:28:22 2013 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4B95BA0B for ; Wed, 27 Feb 2013 00:28:21 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by mx1.freebsd.org (Postfix) with ESMTP id 05C9CCEB for ; Wed, 27 Feb 2013 00:28:20 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id hz1so54903pad.10 for ; Tue, 26 Feb 2013 16:28:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :x-operating-system:organization:x-living-the-dream :x-pgp-fingerprint:x-pgp-key:user-agent:x-gm-message-state; bh=lHRlTagRiHOCO0oC6eUuqqoKO29AuPKmh/luEiMS4L8=; b=PHc9x33FeYrEyxeKyO8NW34oSo1KCXSGYhn1n4wk/Wkl9Kbqs4xMhWKbgat9JNSgYg Hh6bFP9hHbc+OSqBKsoOHyOhtQq110dLOVrNsIPngGtCRU8OcQK+qIweVHMyTFOJYv7+ LS6NDW9M449C5N2yOVPz2zeWcpmzDkyUddIAFDrWe1j7BPmu+AqAnnfUYs0mPTDiN6qI YDU421+Qx1o7BB+YNzn/OwRwNO98u615PKIW6IDJJu165Fz0wRZAcnkdkGdIlt77rkEJ VrFokVD6qK1IkLDfWMxZu6GtubJgsVj8C6BT5te8xG/3PxcFM7Do7CdPJj02a9K1apxM rgLg== X-Received: by 10.68.191.106 with SMTP id gx10mr329001pbc.151.1361924900341; Tue, 26 Feb 2013 16:28:20 -0800 (PST) Received: from hatter (adsl-64-161-57-202.dsl.snlo01.pacbell.net. [64.161.57.202]) by mx.google.com with ESMTPS id w2sm3103737pax.22.2013.02.26.16.28.18 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 26 Feb 2013 16:28:19 -0800 (PST) Sender: Jason Helfman Date: Tue, 26 Feb 2013 16:25:02 -0800 From: Jason Helfman To: bug-followup@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> References: <201302262223.r1QMN4rx088087@freefall.freebsd.org> <201302262230.r1QMU0vx088291@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201302262230.r1QMU0vx088291@freefall.freebsd.org> X-Operating-System: FreeBSD 9.0-RELEASE-p3 i386 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQk4+66ko2RDSR2sejfm+KaercGHjje8W11SR6mImcI3APjdi/GK3nQWs1WbotowwWRtcStP Cc: freebsd-doc@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2013 00:28:22 -0000 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