Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RQPVG-0005RX-QF for mharc-grub-devel@gnu.org; Tue, 15 Nov 2011 15:21:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQPVB-0005NF-J9 for grub-devel@gnu.org; Tue, 15 Nov 2011 15:21:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQPV7-00022D-PE for grub-devel@gnu.org; Tue, 15 Nov 2011 15:21:05 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:18873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQPV7-00021i-K6 for grub-devel@gnu.org; Tue, 15 Nov 2011 15:21:01 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pAFKKwVF020063 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 15 Nov 2011 20:20:58 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pAFKKvEE002336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 15 Nov 2011 20:20:57 GMT Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pAFKKp5t012756 for ; Tue, 15 Nov 2011 14:20:51 -0600 Received: from bergsoft (/10.132.136.136) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 15 Nov 2011 12:20:51 -0800 Date: Tue, 15 Nov 2011 12:19:18 -0800 (PST) From: Seth Goldberg X-X-Sender: sethg@bergsoft To: grub-devel@gnu.org Subject: Fix for warnings when making in po Message-ID: User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090204.4EC2C9AB.0006,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2011 20:21:09 -0000 Hi, I've been seeing these for a while: /usr/bin/xgettext: warning: The option --msgid-bugs-address was not specified. If you are using a `Makevars' file, please specify the MSGID_BUGS_ADDRESS variable there; otherwise please specify an --msgid-bugs-address command line option. grub.po: warning: Charset "CHARSET" is not a portable encoding name. Message conversion to user's charset might not work. The problem is that make is spawning separate subshells for different blocks of shell script, and the msgid_bugs_address env var is lost after the first. This fixes that: === modified file 'po/Makefile.in.in' --- po/Makefile.in.in 2010-12-21 12:49:29 +0000 +++ po/Makefile.in.in 2011-11-15 20:12:06 +0000 @@ -165,7 +165,7 @@ --package-version='@VERSION@' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ - esac + esac; \ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ @@ -187,7 +187,7 @@ --join-existing --language=Shell \ --keyword=gettext_quoted --keyword=gettext_printf \ ;; \ - esac + esac; \ test ! -f $(DOMAIN).po || { \ sed -f grub.d.sed < $(DOMAIN).po > $(DOMAIN).1po && \ mv $(DOMAIN).1po $(DOMAIN).po; \